// fixhunt regression fixture: eslint no-regex-spaces, 9.39.5 // the fix labelled safe changes the program's output on this program // before the fix: no stdout, stderr "TypeError: /'hello world'/ is not a function", exit 1 // after the fix: no stdout, stderr "TypeError: /'hello {3}world'/ is not a function", exit 1 // finding 2026-10-22T18-18-44-853Z-8ihx-eslint-no-regex-spaces/r1-p004; rule fired 1 time(s) before the fix let x = /'hello world'/ (['a','b']).forEach(c => { if (/^h/.test(c)) x = null })