emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/systemd cd22a2c 065/131: use a-zA-Z0-9


From: ELPA Syncer
Subject: [nongnu] elpa/systemd cd22a2c 065/131: use a-zA-Z0-9
Date: Sun, 29 Aug 2021 11:35:16 -0400 (EDT)

branch: elpa/systemd
commit cd22a2c25074a63f206248db26ef5af6505de728
Author: Mark Oteiza <mvoteiza@udel.edu>
Commit: Mark Oteiza <mvoteiza@udel.edu>

    use a-zA-Z0-9
    
    the alphanum class matches multibyte characters, and matching only
    alphanumeric ASCII is what is desired here
---
 systemd.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/systemd.el b/systemd.el
index 7baf17f..ec493be 100644
--- a/systemd.el
+++ b/systemd.el
@@ -199,7 +199,7 @@
 
 (defconst systemd-autoload-regexp
   (eval-when-compile
-    (rx (+? (or alphanumeric (any "-_.@\\"))) "."
+    (rx (+? (any "a-zA-Z0-9-_.@\\")) "."
         (or "automount" "busname" "mount" "service" "slice"
             "socket" "swap" "target" "timer" "link" "netdev" "network")
         string-end))
@@ -208,7 +208,7 @@
 (defconst systemd-tempfn-autoload-regexp
   (eval-when-compile
     (rx ".#" 
-        (or (and (+? (or alphanumeric (any "-_.@\\"))) "."
+        (or (and (+? (any "a-zA-Z0-9-_.@\\")) "."
                  (or "automount" "busname" "mount" "service" "slice"
                      "socket" "swap" "target" "timer" "link" "netdev" 
"network"))
             "override.conf")
@@ -218,7 +218,7 @@
 (defconst systemd-dropin-autoload-regexp
   (eval-when-compile
     (rx "/systemd/" (+? anything) ".d/"
-        (+? (or alphanumeric (any "-_.@\\"))) ".conf" string-end))
+        (+? (any "a-zA-Z0-9-_.@\\")) ".conf" string-end))
   "Regexp for dropin config file buffers in which to autoload `systemd-mode'.")
 
 (defun systemd-get-value (start)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]