Variable: hypb:in-string-mode-regexps

hypb:in-string-mode-regexps is a customizable variable defined in hypb.el.

Value

(if
    (derived-mode-p 'texinfo-mode)
    '(("``\\|\"" "''\\|\""))
  '(("'''\\|\"\"\"" "'''\\|\"\"\"\\|\"\\|'")
    ("\"\\|'" "\"\\|'")))

Documentation

Return a list of lists of (open-regexp close-regexp) string delimiters.

Sublists must be arranged from longest regexp match to shortest match. This is used in hypb:in-string-p which wraps each regexp such that matches preceded by a backslash are ignored. The wrap regexp has group 1 that matches the beginning of line or a backslash character. Group 2 matches the delimiter.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defcustom hypb:in-string-mode-regexps
  '(if (derived-mode-p 'texinfo-mode)
       '(("``\\|\""
          "''\\|\""))
     '(("'''\\|\"\"\""
        "'''\\|\"\"\"\\|\"\\|'")
       ("\"\\|'"
        "\"\\|'")))
  "Return a list of lists of (open-regexp close-regexp) string delimiters.
Sublists must be arranged from longest regexp match to shortest match.  This
is used in `hypb:in-string-p' which wraps each regexp such that matches
preceded by a backslash are ignored.  The wrap regexp has group 1 that
matches the beginning of line or a backslash character.  Group 2 matches the
delimiter."
  :type 'sexp
  :group 'hyperbole-commands)