Add the regex syntactic sugar: /r/m:s.

/r/[m][:s] where r is a regex, m is a modifier and s the maximum size.
It is strictly equivalent to regex('/r/[m]', s).