It does work that way indeed:
perl -wE 'use re::engine::TRE; print "<<$_>>\n" for "WhateverFooBlahBa +rMoreFooStuffBarMore" =~ /(?:Foo(.*)Bar)+?/gx'
Output:
<<Blah>> <<Stuff>>
In reply to Re^2: Extracting substrings
by ambrus
in thread Extracting substrings
by bontchev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |