Skip to content

Commit

Permalink
style: remove useless escaping in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotfontaine committed Sep 25, 2024
1 parent d86807c commit 2411bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = grammar({

jinja2_comment: (_) => token(prec(PREC.jinja2, seq("{#", /[^#]*/, "#}"))),

cyclepoints: (_) => token(repeat1(choice(/[A-Z0-9\/^$+\-,()!]+/, "min"))),
cyclepoints: (_) => token(repeat1(choice(/[A-Z0-9/^$+\-,()!]+/, "min"))),

graph_logical: (_) => token(choice("&", "|")),

Expand Down

0 comments on commit 2411bfa

Please sign in to comment.