Merge pull request #15960 from overleaf/mj-bibtex-field-plus

[lezer] Support plus character in BibTeX field name

GitOrigin-RevId: a8af42fa9c372b36ed2ec0354bafa76154dd8d18
This commit is contained in:
Mathias Jakobsen
2023-11-30 09:03:23 +00:00
committed by Copybot
parent 329b2d375a
commit 1e1a6f62a7
@@ -7,7 +7,7 @@
whiteSpace { $[\t\n ]+ }
Identifier { ![,{} \t\n%]+ }
StringName { $[a-zA-Z:_] $[a-zA-Z:_0-9-]* }
FieldName {$[a-zA-Z-_0-9]+}
FieldName {$[a-zA-Z-_0-9+]+}
LiteralString {
'"' (!["] | "\\" _)* '"'?
}