[Chicken-users] 4.6.3 - regex behavior seems wrong

2010-12-27 Thread Matt Welland
I'm using the regex egg in 4.6.3 (use regex) Regexs seem to have implict ^ and $ at the start and end. This differs most most regex implementations I'm familiar with. "^\\s+#" should match the line " # Hello" but does not. ___ Chicken-users mailing list

Re: [Chicken-users] 4.6.3 - regex behavior seems wrong

2010-12-27 Thread Alex Shinn
2010/12/28 Matt Welland : > I'm using the regex egg in 4.6.3 > (use regex) > > Regexs seem to have implict ^ and $ at the start and end. This differs most > most regex implementations I'm familiar with. > > "^\\s+#" should match the line " # Hello" but does not. "match" matches the entire string,

Re: [Chicken-users] 4.6.3 - regex behavior seems wrong

2010-12-27 Thread Matt Welland
Ah, ok. Different from 3.4. Thanks. On Mon, Dec 27, 2010 at 10:39 PM, Alex Shinn wrote: > 2010/12/28 Matt Welland : > > I'm using the regex egg in 4.6.3 > > (use regex) > > > > Regexs seem to have implict ^ and $ at the start and end. This differs > most > > most regex implementations I'm famili