|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Re: Re: Re: Word Exclusion Regex (was Re: regex problem)by chipmunk (Parson) |
| on Feb 10, 2002 at 17:49 UTC ( #144480=note: print w/ replies, xml ) | Need Help?? |
|
I don't know where you got that regex from, but it's certainly not from japhy's code. The regex his code produces is:
(?-xism:^[^pcd]*(?:(?:p(?!ig)|c(?!at)|d(?!og))[^p c d]*)*$)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||