in reply to Re: Regex substitute matches second match first?
in thread Regex substitute matches second match first?
Heh, blimey, thank you. So /g sometimes isn't needed - I have read about 'greedy' regex before but never encountered it.
Many thanks for your wisdom!
Nick
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex substitute matches second match first?
by stevieb (Canon) on May 25, 2016 at 17:24 UTC | |
by Linicks (Scribe) on May 25, 2016 at 17:33 UTC |