chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] regex broken


From: Joerg F. Wittenberger
Subject: [Chicken-users] regex broken
Date: 04 Jan 2003 16:57:42 +0100

Hi all,

the regular expression support in chicken in 'somewhat' broken - if
that's possible.

Reusing C libraries breaks the semantics: the C lib appears to
understand #\nul characters as 'end of string' (at least under linux).
Scheme strings can contains #\nul  (thanks god), but then the matcher
doesn't work...

I see it beeing quite hard to fix this.  Either check whether pcre
does the same mistake (anybody who knowledgable here?), use a Scheme
implemented regexp matcher (unusable slow) or the golden idea.
Anybody who got the latter?

regards

/Jörg

-- 
The worst of harm may often result from the best of intentions.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]