Files
Matt Godbolt 1c54b3ab45 maskRootdir: replace manual scanner with regex + cheap marker guard
The previous commit avoided regex backtracking by hand-rolling an ~85-line
character scanner (findTempdirRange + helpers). This achieves the same result
far more simply: keep the marker-based regex and gate it behind a linear
`filepath.includes(ce_temp_prefix)` check, so the backtracking-prone regex only
runs when the marker is actually present. The regex stays the readable source of
truth for what a CE temp path looks like.

Behaviour is unchanged — the two tests added by the previous commit (invalid
suffix char left untouched; long non-matching input) still pass, now exercising
the regex path.
2026-07-14 09:25:53 -04:00
..
2026-06-04 23:41:19 +02:00
2026-07-02 18:26:35 +01:00
2026-07-02 18:26:35 +01:00
2025-07-28 10:34:46 -05:00
2026-05-23 14:47:16 +03:00