mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-13 08:00:56 +00:00

This commit fixes an embarrassing bug where the depth in the nest limit checker was never decremented during postorder traversal, which means long but shallow regexes would incorrectly trip the nest limit. We fix that in this commit and add two regression tests. Fixes #454