perlgags78 has asked for the wisdom of the Perl Monks concerning the following question:
Basically what it's saying is that if the engine looks( "hello Gags" =~ /^(?=hello).*[^G][^a].*$/ )&& print ("Matched") || p +rint ("Unmatched")
Would anyone be able to tell me what the internal string
changes to after the engine reads (?=hello) and actually
locates the first hello?
Is there anyway to debug the resolution of regexes? I'm
using the debugger but it only does statements at a time.
Thanks,
Mark.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Debugging Regexes
by gellyfish (Monsignor) on Jun 28, 2004 at 17:02 UTC | |
by perlgags78 (Acolyte) on Jun 28, 2004 at 17:15 UTC | |
by sweetblood (Prior) on Jun 28, 2004 at 23:34 UTC | |
by svsingh (Priest) on Jun 30, 2004 at 14:47 UTC | |
Re: Debugging Regexes
by fletcher_the_dog (Friar) on Jun 28, 2004 at 17:49 UTC | |
Re: Debugging Regexes
by BrowserUk (Patriarch) on Jun 29, 2004 at 05:07 UTC | |
Re: Debugging Regexes
by hv (Prior) on Jun 29, 2004 at 13:03 UTC | |
Re: Debugging Regexes
by skyknight (Hermit) on Jun 29, 2004 at 12:46 UTC | |
by Jasper (Chaplain) on Jun 29, 2004 at 16:18 UTC | |
Re: Debugging Regexes
by OhReally (Monk) on Jun 30, 2004 at 09:10 UTC | |
Re: Debugging Regexes
by perlgags78 (Acolyte) on Jul 01, 2004 at 10:30 UTC |