[tbnl-devel] Accessing match information for regex dispatchers?

Stefan Scholl stesch at no-spoon.de
Tue Mar 1 18:11:13 UTC 2005


Hi!

Would it be bad style or a bad idea to extend
CREATE-REGEX-DISPATCHER (html.lisp) to hold the result of
CL-PPCRE:SCAN in variables you then DECLARE as SPECIAL so that
the called handler function can access the match information?

Something like *MATCH-START*, *MATCH-END*, *REG-STARTS*, and *REG-ENDS*
just visible for the handler.


Regards,
Stefan




More information about the Tbnl-devel mailing list