calamity-inc / Soup

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

Regex: Handle groups with quantifiers #86

Closed Sainan closed 8 months ago

Sainan commented 11 months ago

For example, (..){3}. There is no other way to write this in regex that also captures correctly, but it is possible by cloning the group exactly: