/(Foo(.*)Bar)+?/gThat would work with POSIX regular expression semantics, but Perl regexen have different greediness semantics. Luckily, Perl 5.10.0 has a replaceable regex engine, so if you just wait till the module re::engine::TRE is fixed, you'll be able to use that regex (though you'll need a /x flag too).
In reply to Re: Extracting substrings
by ambrus
in thread Extracting substrings
by bontchev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |