Re: RFC 72 (v4) Variable-length lookbehind.
[email protected] (Bart Lateur) Sat, 30 Sep 2000 22:31:36 +0200
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Organization | MediaMind |
| Message-ID | <[email protected]> |
On 30 Sep 2000 19:50:27 -0000, Perl6 RFC Librarian wrote: >In Perl6, lookbehind in regular expressions should be extended to permit >not only fixed-length, but also variable-length lookbehind. I see no mention of negative lookbehind. As I wrote before, in: /(?<!ab*c)x/ The lookbehind should fail if *any* lookbehind string can be found matching, and not succeed if there's a string to be found that doesn't match! In the latter case, negative lookbehind would be useless. -- Bart.