| 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) |
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.
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.
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.
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.
Make large charsets smaller, if possible.
Automatically computes the length of a STR after initialization.