coreutils/src
Teemu Pätsi 4ee53acad0
expr: Fix parsing negated character classes "[^a]" (#7884)
* expr: Fix regex escape logic

We have to track if the previous character was already escaped to determine
if the '\' character should be interpreted as an escape character.

* expr: Fix parsing caret (^) as character class negation token

* expr: Add tests for parsing carets in regex

* expr: Add missing semicolon

* expr: Simplify boolean assignment

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-05-04 17:35:18 +02:00
..
bin chore: manual inline formatting 2025-04-09 15:33:46 -04:00
uu expr: Fix parsing negated character classes "[^a]" (#7884) 2025-05-04 17:35:18 +02:00
uucore Merge pull request #7845 from sylvestre/selinux-error 2025-05-04 12:45:53 +02:00
uucore_procs Consolidate crate config in workspace 2025-04-10 16:52:01 -04:00
uuhelp_parser Consolidate crate config in workspace 2025-04-10 16:52:01 -04:00