branch: elpa/systemd commit cd22a2c25074a63f206248db26ef5af6505de728 Author: Mark Oteiza <mvote...@udel.edu> Commit: Mark Oteiza <mvote...@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)