Re: A5: comment regexes please

2002-06-09 Thread Damian Conway
Uri Guttman asked: > now, why does $0.{comment} refer to the internal regex and not the outer > one? Technically, $0 refers to the *match object* of the inner regex, not the inner regex itself. > is it because of it being in the closure? Yes. And because $0 is lexically scoped. > could yo

A5: comment regexes please

2002-06-09 Thread Uri Guttman
like many of you i am fascinated by A5 but also my brain is overwhelmed by it. i love that /x is the default but i would ask all of you to use those comments liberally, even with trivial regexes while we all learn this stuff. even simple ones are tricky looking if you don't grok the syntax and se