in reply to Regex delimiter

You need to use the m<delim>regexp<delim> form (note the m).

Braces are paired, everything else — repeated.