in reply to Re^3: Regex conditional match if previous match in same expression is true?
in thread Regex conditional match if previous match in same expression is true?
Hm, I hadn't thought of using alternation in this way. Most helpful, thank you! My comments to ikegami apply to your post as well.
What do you mean by I was "getting the wrong thing"? I mean, I was attempting to print an undef value, which threw warnings... but was I really getting inaccurate results that way? Mind clarifying a little?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Regex conditional match if previous match in same expression is true?
by demerphq (Chancellor) on Apr 10, 2007 at 16:50 UTC |