You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
one-liners: a regex literal starting with = lexes as the /= operator (/=> x/.replace(...) is "expected expression") #2525
Workaround: /[=]> Some…/. A regex literal in expression position should start wherever / cannot be a binary operator (after =, (, ,, a keyword), as the Lexer already decides for /pat/ vs division; the /= token is the one case it gets wrong. Found 2026-10-21 doing the D103 Some( sweep.
Activity
ehartford commentedon Oct 25, 2026
Triage 2026-10-25,
with v0.15.3.0(main a261b65): reproduced.pre-release: one-liners are a stated priority, and the lexer already knows the positions where
/cannot be an operator.Lexer: where a regex can start, `/=` begins a regex literal, not the …