This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Replace first match function (C<?...?>) with a flag to the match command. =head1 VERSION Maintainer: Stephen P. Potter <[EMAIL PROTECTED]> Date: Aug 24 2000 Mailing List: [EMAIL PROTECTED] Version: 1 Number: 156 =head1 ABSTRACT The first match function should be removed from the language and its functionality should be implemented via a flag to the standard match function. =head1 DESCRIPTION The syntax of the first match function is a special case anomoly which causes the parser to have to work harder. Removing its special syntax would simplify the language definition and make writing parsers easier. =head1 IMPLEMENTATION It is recommended that the flag be C<f>, which is a mneumonic for "first". Additionally, the code for the parser which checks for C<?...?> should be removed from the grammar. =head1 REFERENCES perl6-language message C<[EMAIL PROTECTED]> by Damian Conway RFC 135: Require explicit m on matches, even with ?? and // as delimiters.
