Merge pull request #36 from Curiosidad-Racional/patch-1
The construct \d for any digit is not supported
This commit is contained in:
@@ -1085,7 +1085,7 @@ contextual information."
|
|||||||
;; Protect ..
|
;; Protect ..
|
||||||
(setq text (replace-regexp-in-string "^[\s-]*\\.\\. [^\\[]" "\\\\.. " text))
|
(setq text (replace-regexp-in-string "^[\s-]*\\.\\. [^\\[]" "\\\\.. " text))
|
||||||
;; Protect ^\d+.
|
;; Protect ^\d+.
|
||||||
(setq text (replace-regexp-in-string "^\\(\\d\\)+\\." "\\1\\." text))
|
(setq text (replace-regexp-in-string "^\\([[:digit:]]\\)+\\." "\\1\\." text))
|
||||||
;; Return value.
|
;; Return value.
|
||||||
text)
|
text)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user