diff --git a/ox-rst.el b/ox-rst.el index 3348bfd..d93eccc 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -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)