in reply to problem in regular expression
It's easier than that... You should read perlrequick, perlretut, and perlre. ...it's a couple hours of reading, but as they say, "then you'll know."
Here's an example of how easy it can be to detect ascii values above 126, using a regular expression:
while( $string =~ m/([^\x01-\x7E]+)/g ) { print $1, "\n"; }
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem in regular expression
by CountZero (Bishop) on Sep 03, 2005 at 07:51 UTC |