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\
In reply to Re: Debugging Regexes
by gellyfish
in thread Debugging Regexes
by perlgags78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |