in reply to Pattern matching when there are exception strings
Are your search strings really always surrounded by whitespace (and is that really in contrast to your exceptions?) If so, you might get away with something as simple as /\sALPHA\s/. Or maybe /(^|\s)ALPHA\s/ if your string could begin a line.
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pattern matching when there are exception strings
by Moron (Curate) on Sep 21, 2005 at 13:29 UTC | |
by sauoq (Abbot) on Sep 21, 2005 at 13:47 UTC | |
by Moron (Curate) on Sep 21, 2005 at 13:57 UTC |