Re: short and long descriptions
Posted by
cadet1620 on
Oct 27, 2011; 4:17am
URL: https://support.nabble.com/short-and-long-descriptions-tp6927296p6935042.html
It works to define macros containing the patterns with brackets
<macro name="regex_short_tag">
\[/?short-desc\]
</macro>
<macro name="regex_long_text">
\[long-desc\].*?\[/long-desc\]
</macro>
and then call them in the regex calls:
<n.regex_replace_all. pattern="[n.regex_short_tag/]" replacement=" ">
<n.regex_replace_all. pattern="[n.regex_long_text/]" replacement=" ">
--Mark