in reply to Re: Regex simplification
in thread [untitled node, ID 192753]
because you might get false-positive matches the other way.$line = '<!-- USER 20 - donkey_pusher_6 -->'; print $1 if $line =~ m/<!-- USER \d+ - ([^\s]+)/i;
($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Regex simplification
by Thelonius (Priest) on Aug 26, 2002 at 03:53 UTC |