adobe/helix-shared

[indexer] should return the last non-empty capturing group

dominique-pfister opened this issue ยท 2 comments

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

๐ŸŽ‰ This issue has been resolved in version @adobe/helix-shared-indexer-v2.0.12 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

๐ŸŽ‰ This issue has been resolved in version 8.0.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€