regex-class

Method summary
case-mode regex old-case-mode
compute-offsets regex start-pos
copy-regex regex
everythingp regex
initialize-instance (char-class char-class) &rest init-args
initialize-instance (str str) &rest init-args
len (void void)
regex-length regex
regex-min-length regex
remove-registers regex
skip (void void)
start-of-end-string-p (void void)
str (void void)
case-mode   regex old-case-mode  [Generic function]

Utility function used by the optimizer (see GATHER-STRINGS). Returns a keyword denoting the case-(in)sensitivity of a STR or its second argument if the STR has length 0. Returns NIL for REGEX objects which are not of type STR.

copy-regex   regex  [Generic function]

Implements a deep copy of a REGEX object.

remove-registers   regex  [Generic function]

Returns a deep copy of a REGEX (see COPY-REGEX) and optionally removes embedded REGISTER objects if possible and if the special variable REMOVE-REGISTERS-P is true.

everythingp   regex  [Generic function]

Returns an EVERYTHING object if REGEX is equivalent to this object, otherwise NIL. So, "(.){1}" would return true (i.e. the object corresponding to ".", for example.

regex-length   regex  [Generic function]

Return the length of REGEX if it is fixed, NIL otherwise.

regex-min-length   regex  [Generic function]

Returns the minimal length of REGEX.

compute-offsets   regex start-pos  [Generic function]

Returns the offset the following regex would have relative to START-POS or NIL if we can't compute it. Sets the OFFSET slot of REGEX to START-POS if REGEX is a STR. May also affect OFFSET slots of STR objects further down the tree.

initialize-instance   (char-class char-class) &rest init-args  [After method]

Make large charsets smaller, if possible.

initialize-instance   (str str) &rest init-args  [After method]

Automatically computes the length of a STR after initialization.

len   (void void)  [Method]
str   (void void)  [Method]
skip   (void void)  [Method]
start-of-end-string-p   (void void)  [Method]