aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 4671d9f0f1a..7cfbb34aea3 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -465,6 +465,7 @@ This variant of `rx' supports common python named REGEXPS."
465 ;; string delimiters. Fixme: Is there a better way? 465 ;; string delimiters. Fixme: Is there a better way?
466 ;; First avoid a sequence preceded by an odd number of backslashes. 466 ;; First avoid a sequence preceded by an odd number of backslashes.
467 `((,(concat "\\(?:\\([RUru]\\)[Rr]?\\|^\\|[^\\]\\(?:\\\\.\\)*\\)" ;Prefix. 467 `((,(concat "\\(?:\\([RUru]\\)[Rr]?\\|^\\|[^\\]\\(?:\\\\.\\)*\\)" ;Prefix.
468 "\\(?:''''''\\|\"\"\"\"\"\"\\)" ; Empty triple-quote
468 "\\(?:\\('\\)'\\('\\)\\|\\(?2:\"\\)\"\\(?3:\"\\)\\)") 469 "\\(?:\\('\\)'\\('\\)\\|\\(?2:\"\\)\"\\(?3:\"\\)\\)")
469 (3 (python-quote-syntax))))) 470 (3 (python-quote-syntax)))))
470 471