summaryrefslogtreecommitdiff
path: root/evil-surround.el
diff options
context:
space:
mode:
authordeviantfero <fmorataya.04@gmail.com>2019-10-08 14:44:30 -0600
committerninrod <filipe.silva@gmail.com>2019-10-13 13:56:24 -0300
commitd210e1fc2cf1c2d095471cefa700a0d1703f4ab6 (patch)
tree18a9e5007f8d32843f8cb0e4f96c7e537590bdfc /evil-surround.el
parent5ad01dfa86424c4b22cd1dfa375f13bd8c656f43 (diff)
main el file: add dots and caps to evil-surround-tag-name-re
tests: add tests for caps and dots support in tag names
Diffstat (limited to 'evil-surround.el')
-rw-r--r--evil-surround.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-surround.el b/evil-surround.el
index 6eb3a11..6a92d08 100644
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -134,7 +134,7 @@ Each item is of the form (OPERATOR . OPERATION)."
(cons (format "%s(" (or fname ""))
")")))
-(defconst evil-surround-tag-name-re "\\([0-9a-z-]+\\)"
+(defconst evil-surround-tag-name-re "\\([0-9a-zA-Z\.-]+\\)"
"Regexp matching an XML tag name.")
(defun evil-surround-tag-p (string)