Sandbox.TestMeta - TestMeta

Page of - last modified by Helge Dahl on 2018/10/26 12:54

TestMeta

Helge Dahl

2018/10/26 12:54

Table of Contents

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 ($parsed = $services.rendering.parse($matcher.group(1),"xwiki/2.1")) #set ($result = $services.rendering.render($parsed, "plain/1.0")) ##set ($res = $services.rendering.render($matcher.group(1), "html/4.01")) $result #else #set ($crap = "crap") $crap #end{{/velocity}} (% class="jumbotron" %) ((( (% class="container" %) ((( PayEx Checkout allows for styling customization of both [[Checkin>>doc:Main.ecommerce.technical-reference.consumers-resource.WebHome||anchor="HConsumer-view-styling"]] and [[Payment Menu>>doc:Main.ecommerce.technical-reference.payment-orders-resource.WebHome||anchor="HPaymentMenuStyling"]]. ))) )))
This is the regex match:
PayEx Checkout allows for styling customization of both Checkin and Payment Menu.

PayEx Checkout allows for styling customization of both Checkin and Payment Menu.