Expected the following code to notice "2":
But instead received this (quite cryptic) error:
It looks like the lexer isn't handling variables in regexp_acceptable?.
Related: should it also do the same for bare words (it handles names already)?
Workaround by forcing the next token following the variable to be something other than '/':