mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-06 20:21:46 +00:00

This commit adds two new predicates to `Hir` values that permit querying whether an expression is *line* anchored at the start or end. This was motivated by a desire to tweak the offsets of a match when enabling --crlf mode in ripgrep.