Re: RFC 308 (v1) Ban Perl hooks into regexes
[email protected] (Bart Lateur) Tue, 26 Sep 2000 19:02:14 +0200
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Organization | MediaMind |
| Message-ID | <[email protected]> |
On 25 Sep 2000 20:14:52 -0000, Perl6 RFC Librarian wrote:
>Remove C<?{ code }>, C<??{ code }> and friends.
I'm putting the finishing touches on an RFC to drop (?{...}) and replace
it with something far more localized, hence cleaner: assertions, also in
Perl code. That way,
/(?<!\d)(\d+)(?{$1 < 256})/
would only match integers between 0 and 255.
Communications between Perl code snippets inside a regex would be
strongly discouraged.
--
Bart.