|XP is just a number|
Debugging Regexesby perlgags78 (Acolyte)
|on Jun 28, 2004 at 16:57 UTC||Need Help??|
perlgags78 has asked for the
wisdom of the Perl Monks concerning the following question:
Hi folks, Is there anyway to debug regular expressions?
I have a regex that resolves a lookahead expression at
the beginning of the expression. It looks like the
Basically what it's saying is that if the engine looks
ahead from the start and locates the word 'hello'
then if the rest of the string DOES NOT contain the
char 'G' followed by the char 'a' then print matched or
else print unmatched.
i.e. for the above string it should return Unmatched... but
Would anyone be able to tell me what the internal string