Changes for page TestMeta
Last modified by Helge Dahl on 2018/10/26 12:54
From version 1.1
edited by Helge Dahl
on 2018/10/26 11:50
on 2018/10/26 11:50
To version 2.1
edited by Helge Dahl
on 2018/10/26 11:52
on 2018/10/26 11:52
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,0 +1,23 @@ 1 +{{velocity}}**This is the entire contents of this document:** 2 +#set ($content = $doc.getContent()) 3 +{{html clean="false"}} 4 +$content 5 +{{/html}} 6 +#set ($pattern = $regextool.compile('\(%\s+class="jumbotron"\s+%\)\s+\(\(\(\s+\(%\s+class="container"\s+%\)\s+\(\(\(\s+(.+)\s+\)\)\)\s+\)\)\)')) 7 +#set ($matcher = $pattern.matcher($content)) 8 +#if ($matcher.find()) 9 +**This is the regex match:** 10 +$services.rendering.render($matcher.group(1), "html/4.01") 11 +#else 12 +#set ($crap = "crap") 13 +$crap 14 +#end{{/velocity}} 15 + 16 +(% class="jumbotron" %) 17 +((( 18 +(% class="container" %) 19 +((( 20 +My very impressive content here 21 +[[Checkin>>doc:Main.ecommerce.technical-reference.consumers-resource.WebHome||anchor="HConsumer-view-styling"]] 22 +))) 23 +)))