anaconda_wly has asked for the wisdom of the Perl Monks concerning the following question:
I saw in perl tutorial:
/[^a]at/; # doesn't match 'aat' or 'at'
I understand the first doesn't match while not understand the second one.
Why not 'at'?
Does /aat/ match at? or a can be viewed as blank?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: little regex question
by Loops (Curate) on Aug 01, 2013 at 09:33 UTC | |
by VGavara (Novice) on Aug 01, 2013 at 10:51 UTC | |
Re: little regex question
by vinoth.ree (Monsignor) on Aug 01, 2013 at 09:53 UTC | |
by anaconda_wly (Scribe) on Aug 01, 2013 at 10:13 UTC | |
by Anonymous Monk on Aug 01, 2013 at 10:59 UTC |
Back to
Seekers of Perl Wisdom