Some implementations allow the quantifiers *? and +? to avoid the longest match policy. For example <.*> matches <a><b> completely whereas <.*?> would match <a> and <b> separately.
Our implementation currently does not only compute longest but all matchings and we can filter them according to a policy such as longest or shortest match. On the other hand we cannot mix longest and shortest match in a single regular expression.
Some implementations allow the quantifiers
*?
and+?
to avoid the longest match policy. For example<.*>
matches<a><b>
completely whereas<.*?>
would match<a>
and<b>
separately.Our implementation currently does not only compute longest but all matchings and we can filter them according to a policy such as longest or shortest match. On the other hand we cannot mix longest and shortest match in a single regular expression.