in reply to PerlMonks Search Regex
A regexp search while probakly not too hard since this site uses MySQL, which has RLIKE, could be mighty dangerous. Search is already kind of heavy on resources, and I could foresee an improperly constructed regexp running out of control.
--
perl -pew "s/\b;([mnst])/'$1/g"
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: PerlMonks Search Regex
by tye (Sage) on Jun 14, 2002 at 15:06 UTC |