> Just remove the '()' inside the (?<! ).
>
> $ perl -e 'print "prime minister" =~ /(?<!prime )minister/,"\n"'
>
> $ perl -e 'print "minister" =~ /(?<!prime )minister/,"\n"'
> 1
>
> The problem with that regexp is if you have more than one space or
> something else between prime and minister it won't work (ie
> it will match).
This is promising and is the direction I think I was headed. However, I use the following website to test rules:
http://www.personeel.unimaas.nl/H.Schotel/Testaregex/
This site fails on this rule (doesn't even run). I will use your perl command line to check rules in the future.
Thanks!
