in reply to Re^2: This regex seems to have splattered non-greedy everywhere
in thread This regex seems to have splattered non-greedy everywhere
The unrolled loop of the first half and the $ anchor of the second half should control the performance.m{ ( [^']*? (?: '[^']*' [^']*? )* ) XX | (.+) $ }x
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: This regex seems to have splattered non-greedy everywhere
by fizbin (Chaplain) on Aug 10, 2005 at 20:12 UTC |