Skip to content

built-in subrule need update #3

Description

@songzan

<dot> <lt> <gt> <null> <sp> is not built-in subrule

#!perl6

use Test;

my regex dot { '.' }
my regex lt { '<' }
my regex gt { '>' }
my regex null { <?> }

ok( '.' ~~ / <dot> /, '. match <dot>');
ok( '<' ~~ / <lt> /,  '< match <lt>');
ok( '>' ~~ / <gt> /, '> match <gt>');
ok( '' ~~ / <null> /, 'blank str match <null>');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions