Variable: python--f-string-start-regexp

python--f-string-start-regexp is a variable defined in python.el.gz.

Value

"\\<\\(?:F[Rr]\\|R[Ff]\\|f[Rr]\\|r[Ff]\\|[Ff]\\)\\(?:\"\"\"\\|'''\\|[\"']\\)"

Documentation

A regular expression matching the beginning of an f-string.

See URL https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/python.el.gz
(defconst python--f-string-start-regexp
  (rx bow
      (or "f" "F" "fr" "Fr" "fR" "FR" "rf" "rF" "Rf" "RF")
      (or "\"" "\"\"\"" "'" "'''"))
  "A regular expression matching the beginning of an f-string.

See URL `https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals'.")