in reply to How do I match the closest of repeated strings?
Alternative:
m{ ( ^abc$ (?:(?!^def$).)* ^def$ ) }smx
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I match the closest of repeated strings?
by moritz (Cardinal) on Sep 29, 2008 at 09:50 UTC |