Re: Light ideas

2002-08-03 Thread Ken Fox
Dave Storrs wrote: why didn't you have to write: rule ugly_c_comment { / \/ \* [ .*? ugly_c_comment? ]*? \* \/ { let $0 := } / } Think of the curly braces as the regex quotes. If { is the quote then there's nothing

Re: Light ideas

2002-08-03 Thread Uri Guttman
KF == Ken Fox [EMAIL PROTECTED] writes: Dave Storrs wrote: why didn't you have to write: rule ugly_c_comment { / \/ \* [ .*? ugly_c_comment? ]*? \* \/ { let $0 := } / } Think of the curly braces as the regex quotes. If { is the quote then there's nothing

Re: Use of regular expressions on non-strings

2002-08-03 Thread Markus Laire
On 1 Aug 2002 at 19:30, David Whipp wrote: I'm wondering if Perl6's new regex can be applied to non-string things. I seem to recall A5 mentioning something about strings tied to array implementations; but I'm wanting something a little more powerful. Yes, it can be applied to anything which