in reply to Regex problem
If you are actually testing equivalence, it could be both faster and not prone interpolation problems to if you use eq instead of a regex. This also works for substrings if you know placement within the test string.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex problem
by Anonymous Monk on Dec 15, 2008 at 20:22 UTC | |
by kennethk (Abbot) on Dec 15, 2008 at 20:35 UTC | |
by Anonymous Monk on Dec 15, 2008 at 20:48 UTC | |
by GrandFather (Saint) on Dec 15, 2008 at 22:55 UTC |