This is the recursive-regex Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 06:33:12 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
recursive-regexRecursive regular expression parsing engine
BSD
0.1
iterate (system).
anaphora (system).
cl-interpol (system).
cl-ppcre (system).
alexandria (system).
symbol-munger (system).
rec-regex.lisp (file).
rex-reader.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
recursive-regex/recursive-regex.asdrecursive-regex (system).
recursive-regex/rec-regex.lisprecursive-regex (system).
*case-insensitive* (special variable).
*dispatchers* (special variable).
add-body-matcher (function).
add-matched-pair-matcher (function).
add-named-regex-matcher (function).
clear-dispatchers (function).
create-recursive-scanner (function).
end (reader method).
(setf end) (writer method).
full-match (reader method).
(setf full-match) (writer method).
groups (reader method).
(setf groups) (writer method).
kids (reader method).
(setf kids) (writer method).
make-default-dispatch-table (function).
name (reader method).
(setf name) (writer method).
print-object (method).
regex-recursive-groups (function).
result-node (function).
result-node (class).
start (reader method).
(setf start) (writer method).
treeify-regex-results (function).
%collect-groups-to-tree (function).
%make-dispatcher (function).
%trace-log (function).
%tracer (function).
*body-regex* (special variable).
*minimize-results* (special variable).
*trace-depth* (special variable).
*trace-parse* (special variable).
*uncompiled-br* (special variable).
continue-matching (function).
convert-to-full-match (function).
data (reader method).
(setf data) (writer method).
def-traced-matcher-lambda (macro).
devoid (function).
dispatch-fn (function).
inner-match (function).
inner-match (condition).
make-body-matcher (function).
make-displaced-array (function).
make-matched-pair-matcher (function).
make-named-regex-matcher (function).
trace-log (macro).
tracer (macro).
with-child-pusher (macro).
recursive-regex/rex-reader.lisprecursive-regex (system).
read-rex-file-to-dispatchers (function).
+end-of-defs+ (special variable).
+option+ (special variable).
+option-case-insensitive+ (special variable).
+production-split+ (special variable).
end-of-defs? (function).
handle-quoted-rules (function).
option-ci? (function).
option? (function).
process-rex-def (function).
replace-all (function).
replace-expansions (function).
trimmed-readline (function).
unescaped-quote-pos (function).
Packages are listed by definition order.
recursive-regexrecex
rec-regex
anaphora.
common-lisp.
common-lisp-user.
iterate.
*case-insensitive* (special variable).
*dispatchers* (special variable).
add-body-matcher (function).
add-matched-pair-matcher (function).
add-named-regex-matcher (function).
clear-dispatchers (function).
create-recursive-scanner (function).
end (generic reader).
(setf end) (generic writer).
full-match (generic reader).
(setf full-match) (generic writer).
groups (generic reader).
(setf groups) (generic writer).
kids (generic reader).
(setf kids) (generic writer).
make-default-dispatch-table (function).
name (generic reader).
(setf name) (generic writer).
read-rex-file-to-dispatchers (function).
regex-recursive-groups (function).
result-node (function).
result-node (class).
start (generic reader).
(setf start) (generic writer).
treeify-regex-results (function).
%collect-groups-to-tree (function).
%make-dispatcher (function).
%trace-log (function).
%tracer (function).
*body-regex* (special variable).
*minimize-results* (special variable).
*trace-depth* (special variable).
*trace-parse* (special variable).
*uncompiled-br* (special variable).
+end-of-defs+ (special variable).
+option+ (special variable).
+option-case-insensitive+ (special variable).
+production-split+ (special variable).
continue-matching (function).
convert-to-full-match (function).
data (generic reader).
(setf data) (generic writer).
def-traced-matcher-lambda (macro).
devoid (function).
dispatch-fn (function).
end-of-defs? (function).
handle-quoted-rules (function).
inner-match (function).
inner-match (condition).
make-body-matcher (function).
make-displaced-array (function).
make-matched-pair-matcher (function).
make-named-regex-matcher (function).
option-ci? (function).
option? (function).
process-rex-def (function).
replace-all (function).
replace-expansions (function).
trace-log (macro).
tracer (macro).
trimmed-readline (function).
unescaped-quote-pos (function).
with-child-pusher (macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Add a new body matcher that dispatches on name
Add a matched pair matcher dispatched on name
Add a new dispatcher on name to child regex
removes all the dispatchers
Allows named registers to refer to functions that should be in the place of the named register
Creates a default dispatch table with a parens dispatcher that can match pairs of parentheses
reads a set of definitions in from a rex file, calls
add-named-regex-matcher for each production
name => regex
run a recursive regular expression and gather all the results for each of them into a tree
Make a lisp tree of the results of the matches from the clos tree
result-node)) ¶automatically generated reader method
end.
result-node)) ¶automatically generated writer method
end.
result-node)) ¶automatically generated reader method
result-node)) ¶automatically generated writer method
result-node)) ¶automatically generated reader method
result-node)) ¶automatically generated writer method
result-node)) ¶automatically generated reader method
kids.
result-node)) ¶automatically generated writer method
kids.
result-node)) ¶automatically generated reader method
name.
result-node)) ¶automatically generated writer method
name.
result-node)) ¶automatically generated reader method
result-node)) ¶automatically generated writer method
:start
:full-match
:groups
pushes child-matches into the place and continues-matching discards results that have been backtracked passed
Whenever we meet a named group, change it to a named dispatcher if we find it in the list we use that matcher, otherwise we use a body matcher.
quotes in rex productions should be direct string matches (not regex)
Handles matching the body of a named regular expression
Will create a regex filter that can match arbitrary pairs of matched characters such as (start (other () some) end)
Handles matching by delegating to another named regular expression
Returns a new string in which all the occurences of the part
is replaced with replacement. [FROM http://cl-cookbook.sourceforge.net/strings.html#manip]
If we encounter {name} style definitions in the right hand side replace them with their text (regex fragment) value
read a line and trim it, if it is empty return nil instead of empty string
find the index of an unescaped quote
inner-match)) ¶inner-match)) ¶data.
| Jump to: | %
(
A C D E F G H I K M N O P R S T U W |
|---|
| Jump to: | %
(
A C D E F G H I K M N O P R S T U W |
|---|
| Jump to: | *
+
D E F G K N S |
|---|
| Jump to: | *
+
D E F G K N S |
|---|
| Jump to: | C F I P R S |
|---|
| Jump to: | C F I P R S |
|---|