From 48695cffad96970656c7791e5e2c8d274940d7cd Mon Sep 17 00:00:00 2001 From: dev Date: Tue, 2 Jun 2026 22:56:09 +0200 Subject: [PATCH] fix(words): replace stray NUL byte in paste-sanitiser regex with \0 escape MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit normalizePastedPlainText strips NUL chars from pasted text, but the regex held a LITERAL 0x00 byte (//g) instead of the escape /\0/g. Runtime behaviour was correct, but the raw NUL made ripgrep treat the whole file as BINARY — so input.ts silently dropped out of every codebase content search. Swap the byte for the \0 escape: identical at runtime (verified input.test.ts 18/18), clean ASCII source, searchable again. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../words/engine/operations/input.ts | Bin 6314 -> 6315 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/src/uix/soma/components/words/engine/operations/input.ts b/src/uix/soma/components/words/engine/operations/input.ts index beadff02c6a0b130d073103090b2a2b183a0a46d..b5d9343ba6489a1a600e9eab8c3bdeb964d03c41 100644 GIT binary patch delta 21 ccmZ2wxY}^TJPF