in reply to Debugging Regexes
the re pragma may be your friend here:
use re qw(debug); ( "hello Gags" =~ /^(?=hello).*[^G][^a].*$/ )&& print ("Matched") || p +rint ("Unmatched");
Should give you more information than you need.
/J\
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Debugging Regexes
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 |