rx-constituents
rx-constituents is a variable defined in `
rx.el
'.
Its value is shown
below.
Documentation:
Alist of sexp form regexp constituents.
Each element of the alist has the form (SYMBOL . DEFN).
SYMBOL is a valid constituent of sexp regular expressions.
If DEFN is a string, SYMBOL is translated into DEFN.
If DEFN is a symbol, use the definition of DEFN, recursively.
Otherwise, DEFN must be a list (FUNCTION MIN-ARGS MAX-ARGS PREDICATE).
FUNCTION is used to produce code for SYMBOL. MIN-ARGS and MAX-ARGS
are the minimum and maximum number of arguments the function-form
sexp constituent SYMBOL may have in sexp regular expressions.
MAX-ARGS nil means no limit. PREDICATE, if specified, means that
all arguments must satisfy PREDICATE.
Value:
((and rx-and 1 nil)
(seq . and)
(: . and)
(sequence . and)
(or rx-or 1 nil)
(| . or)
(not-newline . ".")
(nonl . not-newline)
(anything rx-anything 0 nil)
(any rx-any 1 nil rx-check-any)
(any . ".")
(in . any)
(char . any)
(not-char rx-not-char 1 nil rx-check-any)
(not rx-not 1 1 rx-check-not)
(repeat rx-repeat 2 nil)
(= rx-= 2 nil)
(>= rx->= 2 nil)
(** rx-** 2 nil)
(submatch rx-submatch 1 nil)
(group . submatch)
(submatch-n rx-submatch-n 2 nil)
(group-n . submatch-n)
(zero-or-more rx-kleene 1 nil)
(one-or-more rx-kleene 1 nil)
(zero-or-one rx-kleene 1 nil)
(\? . zero-or-one)
(\?\? . zero-or-one)
(* . zero-or-more)
(*\? . zero-or-more)
(0+ . zero-or-more)
(+ . one-or-more)
(+\? . one-or-more)
(1+ . one-or-more)
(optional . zero-or-one)
(opt . zero-or-one)
(minimal-match rx-greedy 1 1)
(maximal-match rx-greedy 1 1)
(backref rx-backref 1 1 rx-check-backref)
(line-start . "^")
(bol . line-start)
(line-end . "$")
(eol . line-end)
(string-start . "\\`")
(bos . string-start)
(bot . string-start)
(string-end . "\\'")
(eos . string-end)
(eot . string-end)
(buffer-start . "\\`")
(buffer-end . "\\'")
(point . "\\=")
(word-start . "\\<")
(bow . word-start)
(word-end . "\\>")
(eow . word-end)
(word-boundary . "\\b")
(not-word-boundary . "\\B")
(symbol-start . "\\_<")
(symbol-end . "\\_>")
(syntax rx-syntax 1 1)
(not-syntax rx-not-syntax 1 1)
(category rx-category 1 1 rx-check-category)
(eval rx-eval 1 1)
(regexp rx-regexp 1 1 stringp)
(regex . regexp)
(digit . "[[:digit:]]")
(numeric . digit)
(num . digit)
(control . "[[:cntrl:]]")
(cntrl . control)
(hex-digit . "[[:xdigit:]]")
(hex . hex-digit)
(xdigit . hex-digit)
(blank . "[[:blank:]]")
(graphic . "[[:graph:]]")
(graph . graphic)
(printing . "[[:print:]]")
(print . printing)
(alphanumeric . "[[:alnum:]]")
(alnum . alphanumeric)
(letter . "[[:alpha:]]")
(alphabetic . letter)
(alpha . letter)
(ascii . "[[:ascii:]]")
(nonascii . "[[:nonascii:]]")
(lower . "[[:lower:]]")
(lower-case . lower)
(punctuation . "[[:punct:]]")
(punct . punctuation)
(space . "[[:space:]]")
(whitespace . space)
(white . space)
(upper . "[[:upper:]]")
(upper-case . upper)
(word . "[[:word:]]")
(wordchar . word)
(not-wordchar . "\\W"))