Magius_AR has asked for the wisdom of the Perl Monks concerning the following question:
By all forms of sanity, $2 should match anything that is NOT e, aka it should be undef in this example.$word = "eee"; $word=~/(e)([^\1])e/;
Can anyone tell me why this isn't working? It's had us stumped for days.
Magius_AR
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Mind boggling regex
by japhy (Canon) on Oct 26, 2001 at 18:01 UTC | |
by Anonymous Monk on Oct 26, 2001 at 21:40 UTC | |
by japhy (Canon) on Oct 26, 2001 at 21:43 UTC | |
Re: Mind boggling regex
by davis (Vicar) on Oct 26, 2001 at 18:08 UTC | |
Re: Mind boggling regex
by earthboundmisfit (Chaplain) on Oct 26, 2001 at 18:05 UTC |