]> git.eshelyaron.com Git - emacs.git/commitdiff
Add missing categories L, R, . and SPC to rx
authorMattias Engdegård <mattiase@acm.org>
Mon, 11 Feb 2019 20:50:56 +0000 (21:50 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 11 Feb 2019 20:50:56 +0000 (21:50 +0100)
* lisp/emacs-lisp/rx.el (rx-categories):
Add missing categories L, R, . and SPC.  (Bug#34436)

lisp/emacs-lisp/rx.el

index 3fa0204a1a23a4ba3b83ee6315dc557a637f62fb..d00b86819c98fe05e1f6075f949fca1b018c1532 100644 (file)
@@ -246,7 +246,9 @@ regular expressions.")
 
 
 (defconst rx-categories
-  '((consonant                 . ?0)
+  '((space-for-indent           . ?\s)
+    (base                       . ?.)
+    (consonant                 . ?0)
     (base-vowel                        . ?1)
     (upper-diacritical-mark    . ?2)
     (lower-diacritical-mark    . ?3)
@@ -265,7 +267,9 @@ regular expressions.")
     (japanese-hiragana-two-byte . ?H)
     (indian-two-byte           . ?I)
     (japanese-katakana-two-byte . ?K)
+    (strong-left-to-right       . ?L)
     (korean-hangul-two-byte    . ?N)
+    (strong-right-to-left       . ?R)
     (cyrillic-two-byte         . ?Y)
     (combining-diacritic       . ?^)
     (ascii                     . ?a)