Currently we use Oniguruma for expr because it has support for the GNU regex syntax. Ideally, we should be using something like Rust regex, but AFAICT this involves either converting the input string to make it conform to the correct syntax or forking regex-syntax so it supports GNU regexes.
Currently we use Oniguruma for
exprbecause it has support for the GNU regex syntax. Ideally, we should be using something like Rust regex, but AFAICT this involves either converting the input string to make it conform to the correct syntax or forkingregex-syntaxso it supports GNU regexes.