in reply to Meaning for the following regular expression
If a regular expression has a /x modifier then white space is not significant and it may contain comments.
does not contain a comment whilem/foor # this is not a comment/
does and matches 'foobar'. See perlre and perlreref for more details.m/foo # this is a comment bar/x
There is no difference between tr/// and y/// except that old awk sed hackers feel more at home;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Meaning for the following regular expression
by Jim (Curate) on Feb 02, 2008 at 23:30 UTC | |
by hipowls (Curate) on Feb 03, 2008 at 00:05 UTC |