Variable: python--not-raw-string-literal-start-regexp

python--not-raw-string-literal-start-regexp is a variable defined in python.el.gz.

Value

"\\`\\(?:\\(?:[^[:alnum:]]?[FUfu]\\)?\\(?:\"\"\"\\|'''\\)\\|[^z-a]?[^[:alnum:]]\\(?:\"\"\"\\|'''\\)\\|\\(?:[^z-a]\\{0,2\\}[^[:alnum:]]\\)?[FUfu][\"']\\|\\(?:[^z-a]\\{0,3\\}[^\"'[:alnum:]]\\)?[\"']\\)\\'"

Documentation

A regular expression matching the start of a not-raw string literal.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defconst python--not-raw-string-literal-start-regexp
  (rx bos (or
           ;; Multi-line string literals
           (seq (? (? (not alnum)) (or "u" "U" "F" "f")) (or "\"\"\"" "'''"))
           (seq (? anychar) (not alnum) (or "\"\"\"" "'''"))
           ;; Single line string literals
           (seq (? (** 0 2 anychar) (not alnum)) (or "u" "U" "F" "f") (or "'" "\""))
           (seq (? (** 0 3 anychar) (not (any "'\"" alnum))) (or "'" "\"")))
      eos)
  "A regular expression matching the start of a not-raw string literal.")