in reply to Word Exclusion Regex (was Re: regex problem)
in thread regex problem
The following output shows several incorrect cases using an exclude list of qw(dog cat pig):
(?-xism:^[^p c d]*(?:(?:p(?!ig)|c(?!at)|d(?!og))[^p c d]*)*$) dog => cat => pig => owl => 1 ddog => ccat => ppig => pdog => pcat => elephant => ppppcatgggg =>
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Word Exclusion Regex (was Re: regex problem)
by japhy (Canon) on Feb 10, 2002 at 16:19 UTC | |
by blakem (Monsignor) on Feb 10, 2002 at 17:41 UTC | |
by japhy (Canon) on Feb 10, 2002 at 17:57 UTC | |
by japhy (Canon) on Feb 10, 2002 at 17:48 UTC | |
by chipmunk (Parson) on Feb 10, 2002 at 17:49 UTC |