Defect #33432 » 33432-v2.patch
| app/helpers/application_helper.rb | ||
|---|---|---|
|
\{\{ # opening tag
|
||
|
([\w]+) # macro name
|
||
|
(\(([^\n\r]*?)\))? # optional arguments
|
||
|
([\n\r].*?[\n\r])? # optional block of text
|
||
|
(\R.*?\R?)? # optional block of text
|
||
|
\}\} # closing tag
|
||
|
)
|
||
|
)/mx unless const_defined?(:MACROS_RE)
|
||