BRANCH objects represent Perl's conditional regular
expressions.
regex | The REGEX base class. All other classes inherit |
---|
else-regex | The regex that's to be matched if the
test fails. Initform:(make-instance (quote void)), Initargs::else-regex; Accessors:else-regex. |
---|---|
test | The test of this branch, one of
LOOKAHEAD, LOOKBEHIND, or a number. Initargs::test; Accessors:test. |
then-regex | The regex that's to be matched if the
test succeeds. Initargs::then-regex; Accessors:then-regex. |
compute-min-rest | Returns the minimal length of REGEX plus |
---|---|
compute-offsets | Returns the offset the following regex would have |
copy-regex | Implements a deep copy of a REGEX object. |
create-matcher-aux | Creates a closure which takes one parameter, |
flatten | Merges adjacent sequences and alternations, i.e. it |
gather-strings | Collects adjacent strings or characters into one |
regex-length | Return the length of REGEX if it is fixed, NIL otherwise. |
regex-min-length | Returns the minimal length of REGEX. |
remove-registers | Returns a deep copy of a REGEX (see COPY-REGEX) and |
start-anchored-p | Returns T if REGEX starts with a real start |
case-mode | Utility function used by the optimizer (see GATHER-STRINGS). |
---|---|
end-string-aux | Returns the constant string (if it exists) REGEX |
everythingp | Returns an EVERYTHING object if REGEX is equivalent to this object, otherwise NIL. So, (.){1} w... |