| ppcre-error | All errors signaled by CL-PPCRE are of |
|---|---|
| ppcre-invocation-error | Signaled when CL-PPCRE functions are |
| ppcre-syntax-error | Signaled if CL-PPCRE's parser encounters an error |
| alternation | ALTERNATION objects represent alternations of |
|---|---|
| anchor | ANCHOR objects represent anchors like ^ or $. |
| back-reference | BACK-REFERENCE objects represent backreferences. |
| branch | BRANCH objects represent Perl's conditional regular |
| char-class | CHAR-CLASS objects represent character classes. |
| everything | EVERYTHING objects represent regexes matching |
| filter | FILTER objects represent arbitrary functions |
| lookahead | LOOKAHEAD objects represent look-ahead assertions. |
| lookbehind | LOOKBEHIND objects represent look-behind assertions. |
| regex | The REGEX base class. All other classes inherit |
| register | REGISTER objects represent register groups. |
| repetition | REPETITION objects represent repetitions of regexes. |
| seq | SEQ objects represents sequences of |
| standalone | A standalone regular expression. |
| str | STR objects represent string. |
| void | VOID objects represent empty regular expressions. |
| word-boundary | WORD-BOUNDARY objects represent word-boundary assertions. |
| *allow-named-registers* | Whether the parser should support AllegroCL's named registers |
|---|---|
| *allow-quoting* | Whether the parser should support Perl's \Q and \E. |
| *end-pos* | Where to stop scanning within STRING. |
| *end-string-pos* | Start of the next possible end-string candidate. |
| *extended-mode-p* | Whether the parser will start in extended mode. |
| *hyperdoc-base-uri* | |
| *last-pos-stores* | An array to keep track of the last positions |
| *real-start-pos* | The real start of STRING. This is for repeated scans and is only used internally. |
| *reg-ends* | An array which holds the end positions |
| *reg-starts* | An array which holds the start positions |
| *regex-char-code-limit* | The upper exclusive bound on the char-codes of characters which |
| *regs-maybe-start* | An array which holds the next start positions |
| *rep-num* | Counts the number of complicated repetitions while the matchers |
| *repeat-counters* | An array to keep track of how often |
| *special-optimize-settings* | Special optimize settings used only by a few declaration expressions. |
| *standard-optimize-settings* | The standard optimize settings used by most declaration expressions. |
| *start-pos* | Where to start scanning within STRING. |
| *string* | The string which is currently scanned by SCAN. |
| *syntax-error-string* | The string which caused the syntax error. |
| *use-bmh-matchers* | Whether the scanners created by CREATE-SCANNER should use the (fast |
| *zero-length-num* | Counts the number of repetitions the inner regexes of which may |
| reg-seen |
| +digit-hash+ | Hash-table containing the digits from 0 to 9. |
|---|---|
| +whitespace-char-hash+ | Hash-table containing all whitespace characters. |
| +whitespace-char-string+ | A string of all characters which are considered to be whitespace. |
| +word-char-hash+ | Hash-table containing all word characters. |
| *string*-equal | Like STRING-EQUAL, i.e. compares the special string STRING from |
|---|---|
| *string*= | Like STRING=, i.e. compares the special string STRING from START1 |
| add-range-to-hash | Adds all characters from character FROM to character TO (inclusive) |
| all-matches | Returns a list containing the start and end positions of all |
| all-matches-as-strings | Returns a list containing all substrings of TARGET-STRING which |
| build-replacement | Accepts a replacement template and the current values from the |
| clean-comments | Clean (?#...) comments within STRING for quoting, i.e. convert |
| collect-char-class | Reads and consumes characters from regex string until a right |
| convert | Converts the parse tree PARSE-TREE into an equivalent REGEX object |
| convert-aux | Converts the parse tree PARSE-TREE into a REGEX object and returns it. |
| convert-char-class-to-hash | Combines all items in LIST into one char class hash and returns it. |
| copy-lexer | |
| create-bmh-matcher | Returns a Boyer-Moore-Horspool matcher which searches the (special) |
| create-char-searcher | Returns a function which searches the (special) simple-string |
| create-greedy-everything-matcher | Creates a closure which just matches as far ahead as possible, |
| create-ranges-from-hash | Tries to identify up to three intervals (with respect to CHAR<) |
| create-scanner-aux | Auxiliary function to create and return a scanner (which is |
| end-of-string-p | Tests whether we're at the end of the regex string. |
| end-string | Returns the constant string (if it exists) REGEX ends with wrapped |
| fail | Moves (LEXER-POS LEXER) back to the last position stored in |
| get-number | Read and consume the number the lexer is currently looking at and |
| get-quantifier | Returns a list of two values (min max) if what the lexer is looking |
| get-token | Returns and consumes the next token from the regex string (or NIL). |
| greedy-quant | Parses and consumes a <greedy-quant>. |
| group | Parses and consumes a <group>. |
| hyperdoc-lookup | |
| lexer-last-pos | |
| lexer-len | |
| lexer-p | |
| lexer-pos | |
| lexer-reg | |
| lexer-str | |
| looking-at-p | Tests whether the next character the lexer would see is CHR. |
| make-char-from-code | Create character from char-code NUMBER. NUMBER can be NIL |
| make-char-hash | Returns a hash-table of all characters satisfying test. |
| make-lexer | |
| make-lexer-internal | |
| map-char-to-special-char-class | Maps escaped characters like \d to the tokens which represent |
| maybe-accumulate | Accumulate STR into the special variable STARTS-WITH if |
| maybe-parse-flags | Reads a sequence of modifiers (including #\- to reverse their |
| maybe-split-repetition | Splits a REPETITION object into a constant and a varying part if |
| merge-hash | Returns the sum of two hashes. This is a destructive operation |
| merge-inverted-hash | Returns the sum of HASH1 and the inverse of HASH2. This is |
| newline-skipper | Find the next occurence of a character in STRING which is behind |
| next-char | Returns the next character which is to be examined and updates the |
| next-char-non-extended | Returns the next character which is to be examined and updates the |
| normalize-var-list | Utility function for REGISTER-GROUPS-BIND and |
| nsubseq | Return a subsequence by pointing to location in original sequence. |
| parse-register-name-aux | Reads and returns the name in a named register group. It is |
| parse-string | Translate the regex string STRING into a parse tree. |
| parse-tree-synonym | Returns the parse tree the SYMBOL symbol is a synonym for. Returns |
| print-symbol-info | Auxiliary function used by REGEX-APROPOS. Tries to print some |
| quant | Parses and consumes a <quant>. |
| quote-meta-chars | Quote, i.e. prefix with #\, all non-word characters in STRING. |
| quote-sections | Replace sections inside of STRING which are enclosed by \Q and |
| reg-expr | Parses and consumes a <regex>, a complete regular expression. |
| regex-apropos | Similar to the standard function APROPOS but returns a list of all |
| regex-apropos-list | Similar to the standard function APROPOS-LIST but returns a list of |
| regex-replace | Try to match TARGET-STRING between START and END against REGEX and |
| regex-replace-all | Try to match TARGET-STRING between START and END against REGEX and |
| replace-aux | Auxiliary function used by REGEX-REPLACE and |
| reverse-strings | |
| scan-to-strings | Like SCAN but returns substrings of TARGET-STRING instead of |
| seq | Parses and consumes a <seq>. |
| set-flag | Reads a flag token and sets or unsets the corresponding entry in |
| split | Matches REGEX against TARGET-STRING as often as possible and |
| start-of-subexpr-p | Tests whether the next token can start a valid sub-expression, i.e. |
| string-case-modifier | Checks whether all words in STR between FROM and TO are upcased, |
| string-list-to-simple-string | Concatenates a list of strings to one simple-string. |
| try-number | Like GET-NUMBER but won't consume anything if no number is seen. |
| unescape-char | Convert the characters(s) following a backslash into a token |
| unget-token | Moves the lexer back to the last position stored in the LAST-POS stack. |
| whitespacep | Tests whether a character is whitespace, |
| word-boundary-p | Check whether START-POS is a word-boundary within STRING. |
| word-char-p | Tests whether a character is a word character. |
| build-replacement-template | Converts a replacement string for REGEX-REPLACE or |
|---|---|
| case-mode | Utility function used by the optimizer (see GATHER-STRINGS). |
| 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-constant-repetition-constant-length-matcher | Creates a closure which tries to match REPETITION. It is assumed |
| create-constant-repetition-matcher | Creates a closure which tries to match REPETITION. It is assumed |
| create-greedy-constant-length-matcher | Creates a closure which tries to match REPETITION. It is assumed |
| create-greedy-matcher | Creates a closure which tries to match REPETITION. It is assumed |
| create-greedy-no-zero-matcher | Creates a closure which tries to match REPETITION. It is assumed |
| create-matcher-aux | Creates a closure which takes one parameter, |
| create-non-greedy-constant-length-matcher | Creates a closure which tries to match REPETITION. It is assumed |
| create-non-greedy-matcher | Creates a closure which tries to match REPETITION. It is assumed |
| create-non-greedy-no-zero-matcher | Creates a closure which tries to match REPETITION. It is assumed |
| create-scanner | Accepts a regular expression - either as a |
| 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... |
| flatten | Merges adjacent sequences and alternations, i.e. it |
| gather-strings | Collects adjacent strings or characters into one |
| len | |
| 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 |
| scan | Searches TARGET-STRING from START to END and tries |
| skip | |
| start-anchored-p | Returns T if REGEX starts with a real start |
| start-of-end-string-p | |
| str |
| bmh-matcher-aux | Auxiliary macro used by CREATE-BMH-MATCHER. |
|---|---|
| case-insensitive-mode-p | Accessor macro to extract the first flag out of a three-element flag list. |
| char-searcher-aux | Auxiliary macro used by CREATE-CHAR-SEARCHER. |
| constant-repetition-constant-length-closure | This is the template for simple constant repetitions (where simple |
| define-parse-tree-synonym | Defines the symbol NAME to be a synonym for the parse tree |
| do-matches | Iterates over TARGET-STRING and tries to match REGEX as often as |
| do-matches-as-strings | Iterates over TARGET-STRING and tries to match REGEX as often as |
| do-register-groups | Iterates over TARGET-STRING and tries to match REGEX as often as |
| do-scans | Iterates over TARGET-STRING and tries to match REGEX as often as |
| greedy-constant-length-closure | This is the template for simple greedy repetitions (where simple |
| incf-after | Utility macro inspired by C's place++, i.e. first return the |
| insert-advance-fn | Creates the actual closure returned by CREATE-SCANNER-AUX by |
| insert-char-class-tester | Utility macro to replace each occurence of '(CHAR-CLASS-TEST) |
| maybe-coerce-to-simple-string | |
| multi-line-mode-p | Accessor macro to extract the second flag out of a three-element flag list. |
| non-greedy-constant-length-closure | This is the template for simple non-greedy repetitions (where |
| regex-apropos-aux | Auxiliary macro used by REGEX-APROPOS and REGEX-APROPOS-LIST. Loops |
| register-groups-bind | Executes BODY with the variables in VAR-LIST bound to the |
| signal-ppcre-invocation-error | |
| signal-ppcre-syntax-error | |
| signal-ppcre-syntax-error* | |
| single-line-mode-p | Accessor macro to extract the third flag out of a three-element flag list. |
| with-rebinding | WITH-REBINDING ( { var | (var prefix) }* ) form* Evaluates a series of forms in the lexical envi... |
| with-unique-names | Syntax: WITH-UNIQUE-NAMES ( { var | (var x) }* ) declaration* form* Executes a series of forms w... |