[plt-scheme] inverse regexp

From: Thomas Chust (chust at web.de)
Date: Sat Jan 17 17:52:50 EST 2009

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


Posted on the users mailing list.