Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: c8f2dcc68c3646bac45fafccd86368920ddd18ea https://github.com/perl6/specs/commit/c8f2dcc68c3646bac45fafccd86368920ddd18ea Author: Larry Wall <la...@wall.org> Date: 2013-02-23 (Sat, 23 Feb 2013)
Changed paths: M S03-operators.pod M S05-regex.pod M S29-functions.pod Log Message: ----------- Failed matches to return Nil, not (Match) A Match now only ever represents a successful match. A failed match is represented by Nil. Also, we add Match and Nil to the list of things that are explicitly not allowed as literal tokens to smartmatchers due to their use as success/failure from .ACCEPTS methods. And a great sigh of relief comes from those who didn't want the OKness proposal to go much farther than that... :-)