If I'm understanding the code correctly, we only use these regexps (in places like `_matchExpressions()`) to match entire strings (not to search in a string). So I wonder if rather than creating this complex regexp, it would be a lot simpler to directly test that the string matches `lineSyntax` but not `blockSyntax`.