[indexer] should return the last non-empty capturing group
dominique-pfister opened this issue ยท 2 comments
dominique-pfister commented
With a RE ^(.*?)<br><br>.*$|^(.*)$
, and an input before<br><br>after
the capturing groups are:
['before<br><br>after','before',undefined]
the last non-empty group (i.e. before
) should be returned, not undefined
adobe-bot commented
๐ This issue has been resolved in version @adobe/helix-shared-indexer-v2.0.12 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐
adobe-bot commented
๐ This issue has been resolved in version 8.0.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐