
1 Mar
2005
1 Mar
'05
10:32 p.m.
Hi! (And thanks for the error handler patch.) On Tue, 1 Mar 2005 19:11:13 +0100, Stefan Scholl <stesch@no-spoon.de> wrote:
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.
I'm not sure if it's bad style but I wouldn't like it. Why would you need it? The handler has access to the URL anyway. Cheers, Edi.