Skip to content

Commit 3fbb91a

Browse files
committed
Switch to using rx for other regex.
1 parent 0724e37 commit 3fbb91a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

elixir-smie.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,8 @@
7676
(left "*" "/"))))))
7777

7878
(defvar elixir-smie--operator-regexp
79-
(regexp-opt '("<<<" ">>>" "^^^" "~~~" "&&&" "|||" "===" "!==" "==" "!=" "<="
80-
">=" "<" ">" "&&" "||" "<>" "++" "--" "//"
81-
"/>" "=~" "|>")))
79+
(rx (or "<<<" ">>>" "^^^" "~~~" "&&&" "|||" "===" "!==" "==" "!=" "<="
80+
">=" "<" ">" "&&" "||" "<>" "++" "--" "//" "/>" "=~" "|>")))
8281

8382
(defvar elixir-smie--block-operator-regexp
8483
(rx "->"))

0 commit comments

Comments
 (0)