in reply to Re: Problem with alternating regex?
in thread Problem with alternating regex?
Greediness is not an issue for the OP because using a character class ([^"]*) constrains the match in any case.
The double quote pairing is in fact correct - that is not the OP's problem either.
I suspect the "complication" in the OP's regex is because specific matching is required. Your simplification is at the cost of matching almost anything.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem with alternating regex?
by Athanasius (Archbishop) on Sep 11, 2012 at 03:19 UTC | |
by GrandFather (Saint) on Sep 11, 2012 at 04:21 UTC |