|[?] Closure variables in regular expressions email@example.com (Quinn Tyler Jackson) (1999-06-19)|
|Re: [?] Closure variables in regular expressions firstname.lastname@example.org (1999-06-27)|
|From:||"Quinn Tyler Jackson" <email@example.com>|
|Date:||19 Jun 1999 17:49:38 -0400|
|Keywords:||lex, question, comment|
There are regular expression extensions that do this:
Has anyone ever seen regular expression extensions that work like this?
What this would do is match 1 to many from the character set 'a-z',
and store how many times it did so into n. Then, it would match only
that many of the literal '%'...
Any pointers to theory to suggest this would be useful or useless?
Quinn Tyler Jackson
[Looks like it's equivalent in power to backreferences, which can also
count matching pairs of things. -John]
Return to the
Search the comp.compilers archives again.