The construct \d for any digit is not supported
The construct \d for any digit is not supported, use [0-9] or [:digit:] instead https://www.emacswiki.org/emacs/RegularExpression
This commit is contained in:
committed by
GitHub
parent
70f1559171
commit
47d52f23ff
@@ -1085,7 +1085,7 @@ contextual information."
|
||||
;; Protect ..
|
||||
(setq text (replace-regexp-in-string "^[\s-]*\\.\\. [^\\[]" "\\\\.. " text))
|
||||
;; Protect ^\d+.
|
||||
(setq text (replace-regexp-in-string "^\\(\\d\\)+\\." "\\1\\." text))
|
||||
(setq text (replace-regexp-in-string "^\\([[:digit:]]\\)+\\." "\\1\\." text))
|
||||
;; Return value.
|
||||
text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user