[Chicken-users] string-match-positions

2009-02-01 Thread F. Wittenberger
I'm confused (about chicken/trunk): the current manual contains: [procedure] (string-match REGEXP STRING [START]) [procedure] (string-match-positions REGEXP STRING [START]) my usage (from pcre times): (string-match-positions compiled-match string offset flags) note: a 4th (flags)

Re: [Chicken-users] string-match-positions

2009-02-01 Thread Jim Ursetto
On Sun, Feb 1, 2009 at 12:06 PM, Jörg F. Wittenberger joerg.wittenber...@softeyes.net wrote: I'm confused (about chicken/trunk): the current manual contains: [procedure] (string-match REGEXP STRING [START]) [procedure] (string-match-positions REGEXP STRING [START]) my usage (from pcre

Re: [Chicken-users] string-match-positions

2009-02-01 Thread Jim Ursetto
On Sun, Feb 1, 2009 at 12:06 PM, Jörg F. Wittenberger But worst regex.scm: (define (string-match-positions rx str) That performs an anchored match against the beginning and end of the entire string. If you want to provide a range to search in, use: (string-search-positions rx str #!optional