Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (6 sloc) 0.185 kB
str = "foobar"
"Matches!" print if /(foo|bar)/ matches: str
str match: /(foo|bar)/ usingBlock: { match, range |
"«match» -- «range»" print
range each: `i| str[i] print`
}
Jump to Line
Something went wrong with that request. Please try again.