in reply to
Clarify this Regular Expression
You are very close. The ^ is the
not
in "character classes" like
[^0-9]
which matches non-digits. However, when it is not in square brackets it matches the beginning of the line, which is what
ar0n
's expression does.
HTH, --traveler
Comment on
Re: Clarify this Regular Expression
Download
Code
In Section
Seekers of Perl Wisdom