Regex
class Regex (View source)
Methods
static bool|string
parse(string $str)
Parse string like.: {:[a-z]+:}.domain.com
or /user/{:[a-z]+:}/{:\d+:}
to regex
static string
args(string $arg)
Convert one argument like {:[a-z]+:}
to ([a-z]+)
,
this function is used by Router::parse