#!/usr/bin/env node import { spawnSync } from "node:child_process"; // Use PCRE2 lookbehind to avoid: // 1. Matches preceded by a word character (e.g. `Issue#123`) // 2. Matches preceded by `&` (e.g. HTML entities `'`) const SEARCH_PATTERN = '(?