Alternative:
m{ ( ^abc$ (?:(?!^def$).)* ^def$ ) }smx
In reply to Re: How do I match the closest of repeated strings?
by ikegami
in thread How do I match the closest of repeated strings?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |