Re: Guile 2 birthday potluck

2013-01-10 Thread Limbo Peng
On 01/08, Andy Wingo wrote: > February 16 will mark 2 years of Guile 2, and following Ludovic's > example I thought it might be a nice idea to organize a little > hack-potluck :-) > > For those of you that are unfamiliar with the term, a "potluck" is a > dinner where everyone cooks something at ho

Re: regexp character classes not supported?

2012-12-28 Thread Limbo Peng
On Sat, Dec 29, 2012 at 3:15 AM, Mark H Weaver wrote: > There are some additional problems with pregexp. It does not appear to > be written with Unicode in mind, and is also written in such a way that > it will probably perform quite poorly on future versions of Guile. > Thanks for pointing out

Re: regexp character classes not supported?

2012-12-28 Thread Limbo Peng
On Sat, Dec 29, 2012 at 1:22 AM, Mark H Weaver wrote: > Regular expression syntax is not standardized, and there are several > different variants. The "\d" syntax for character classes is a > non-standard perl extension, and is not supported by Guile. > Thx...seems that I've been taking such sy

regexp character classes not supported?

2012-12-28 Thread Limbo Peng
Hi, I'm confused by the result of string-match: (string-match "[0-9]+" "abc123zzz") ;; this works, giving result: #("abc123zzz" (3 . 6)) (string-match "\\d+" "abc123zzz") ;; this doesn't work, giving result: #f Why isn't the "\\d+" syntax (character classes) supported? -Limbo Peng