We don't bite newbies here... much | |
PerlMonks |
Debugging Regexesby perlgags78 (Acolyte) |
on Jun 28, 2004 at 16:57 UTC ( [id://370249]=perlquestion: print w/replies, xml ) | 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 following 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 it doesn't.
Would anyone be able to tell me what the internal string
Thanks,
Back to
Seekers of Perl Wisdom
|
|