[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: regex and named subpatterns
From: |
John Cowan |
Subject: |
Re: [Chicken-users] Re: regex and named subpatterns |
Date: |
Thu, 6 Mar 2008 09:40:18 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Alex Shinn scripsit:
> Chicken regexp's historically weren't tied to PCRE, and
> provided a fairly minimal feature set to accomodate all the
> backends equally. It now always uses PCRE, and you could
> get at the named subpatterns with pcre_get_named_substring()
> if you returned the match object, but personally I don't
> think it should be bound too strongly to PCRE.
I think the contrary: since we are committed to allowing access to the
extended regex features of PCRE (which helps portability: no more random
lossage because I use an extension that your regex package doesn't have),
we should also provide access to the API of PCRE. This seems to me much
more Chicken-y.
--
Andrew Watt on Microsoft: John Cowan
Never in the field of human computing address@hidden
has so much been paid by so many http://www.ccil.org/~cowan
to so few! (pace Winston Churchill)