core : regex

Regular expressions use the Oniguruma library. They live in between / and another /. They are rather limited at the moment.
~   match   new  

~

~ string

Same as match.

match

regex.match string

Returns a list of matched subexpressions if the regular expression can match the string.

new

regex.new string

Builds a new regular expression from the given string.

Fork me on GitHub