brad ArantandClaude Opus 5.5 6719b8c9a3 Fix getTokenExclude hang on a trailing backslash
getTokenExclude looped forever when the data ended in a backslash: once
the cursor hit the end, the "previous character was a backslash" check
never changed. It also treated an escaped backslash (\\) before the
terminator as escaping it, so a token could never end in a backslash.

Stop at the end of the data, and treat a terminator as escaped only when
an odd run of backslashes precedes it. Escapes are still returned as
written, so tokens without those two cases are unchanged
(testing/zstring_test output is identical).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 19:58:02 -08:00
2023-10-06 18:32:17 +00:00
2022-01-24 14:03:58 -08:00
2025-02-06 14:34:11 -08:00
2025-02-06 14:34:11 -08:00
2022-05-23 12:51:44 -07:00
2022-05-23 12:51:44 -07:00
2023-03-10 12:55:08 -08:00
2025-03-11 07:34:17 -07:00
2025-03-11 07:34:17 -07:00
2025-03-11 16:59:16 -07:00
2022-01-24 14:03:58 -08:00
2022-01-24 14:03:58 -08:00
2025-03-12 09:30:56 -07:00
2025-03-11 16:59:16 -07:00
2025-03-11 07:34:17 -07:00
2025-12-04 17:04:55 -08:00
2019-09-13 10:29:36 -07:00
2021-07-23 11:44:36 -07:00
2025-12-09 08:46:33 -08:00
2025-12-04 17:04:55 -08:00
2025-12-04 16:40:11 -08:00
S
Description
This repository contains the CoreUtils library. CoreUtils provides support for ServerCore, JetCore and other subsystem libraries used in higher functions.
33 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 97.8%
Makefile 1.9%
Shell 0.3%