calamity-inc / Soup

The everything library for C++ 17 and beyond with bindings for other languages.
MIT License
11 stars 3 forks source link

Group alternatives overwriting rollback_transition breaks some patterns #123

Closed Sainan closed 1 month ago

Sainan commented 1 month ago

The pattern (.+a|b.+) should match "bca", but Soup doesn't consider it to.

This is caused by the alternatives logic simply overwriting the rollback_transition:

image