On 6/14/05, Peter Bex <[EMAIL PROTECTED]> wrote: > > On closer look, the regex "^([\\-A-Za-z0-9]+):[ ]*([^ ].*)$" is obviously > invalid. The dash after the backslashes is illegal. > To quote the manpage: > ``It is illegal for two ranges to share an endpoint, e.g. `a-c-e'.'' > > If you want to include the - sign itself, it should be put first or last: > ``To include a literal `-', make it the first or last character, or the > second endpoint of a range.'' > > I'm not sure what you want to do with the backslashes. Is it supposed to > include a literal backslash, or are you trying to escape the dash? >
Working around pregexp-bugs. I'll fix that. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
