Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more
12345678 #!/usr/bin/rubyvar m = /(\w+)\s+(\w+)/.match("foo bar");assert_eq(m[0], 'foo');assert_eq(m[1], 'bar');say "** Test passed!";
#!/usr/bin/ruby
var m = /(\w+)\s+(\w+)/.match("foo bar");
assert_eq(m[0], 'foo');
assert_eq(m[1], 'bar');
say "** Test passed!";