This is the entire contents of this document:
{{velocity}}**This is the entire contents of this document:**
#set ($content = $doc.getContent())
{{html clean="false"}}
$content
{{/html}}
#set ($pattern = $regextool.compile('\(%\s+class="jumbotron"\s+%\)\s+\(\(\(\s+\(%\s+class="container"\s+%\)\s+\(\(\(\s+(.+)\s+\)\)\)\s+\)\)\)'))
#set ($matcher = $pattern.matcher($content))
#if ($matcher.find())
**This is the regex match:**
#set ($res = $services.rendering.render($matcher.group(1), "html/4.01"))
$res
#else
#set ($crap = "crap")
$crap
#end{{/velocity}}
(% class="jumbotron" %)
(((
(% class="container" %)
(((
My very impressive content here
)))
)))
This is the regex match:
$res
My very impressive content here