If you're using Windows, turn ' into ". Always mount a scratch monkey.perl -p -i~ -e 's/\&([\w]+)\s*(?!\()/$1()/g' *.pl *.pm *.cgi
--
[ e d @ h a l l e y . c c ]
In reply to Re: Regex to add text if text is missing
by halley
in thread Regex to add text if text is missing
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |