Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.25 kb
require 'Test'
include Test
plan 3
ok "foo" =~ /oo/, 'basic regex matching'
a = /a+/
ok "bar" =~ a, 'save a regex in a variable'
# We only have Perl 6 Rules right now. No pcre.
b = /^ <[abc]>+ $/
ok "abacabba" =~ b, 'slightly more complex regex'
Jump to Line
Something went wrong with that request. Please try again.