[plt-scheme] inverse regexp

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Sat Jan 17 20:19:26 EST 2009

Another option is to have your servlet call (next-dispatcher) from
web-server/dispatchers/dispatch when it doesn't want to handle any
particular request.

Jay

On Sat, Jan 17, 2009 at 3:52 PM, Thomas Chust <chust at web.de> wrote:
> maxigas wrote:
>> [...]
>> so what i want is to match everything that is NOT #rx"^/htdocs/.*"
>> [...]
>
> Hello,
>
> I would suggest using negative lookahead: #rx"^(?!/htdocs/)"
>
> cu,
> Thomas
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.