diff macros.xml @ 17:ce385837c160 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/emboss_5 commit 4812c313fd8762b11f7fd002436e3a93b4c67f00"
author iuc
date Fri, 20 Nov 2020 16:51:11 +0000
parents dba489bfcd62
children
line wrap: on
line diff
--- a/macros.xml	Mon Dec 02 21:13:50 2019 -0500
+++ b/macros.xml	Fri Nov 20 16:51:11 2020 +0000
@@ -19,4 +19,27 @@
             <yield />
         </citations>
     </xml>
+    <xml name="regex_sanitizer">
+        <sanitizer>
+            <valid initial="string.ascii_letters,string.digits">
+                <add value="^"/>
+                <add value="$"/>
+                <add value="("/>
+                <add value=")"/>
+                <add value="|"/>
+                <add value="?"/>
+                <add value="*"/>
+                <add value="+"/>
+                <add value="{"/>
+                <add value="}"/>
+                <add value="\"/>
+                <add value="["/>
+                <add value="]"/>
+                <add value="."/>
+                <add value=","/>
+            </valid>
+        </sanitizer>
+        <validator type="empty_field" />
+        <validator type="regex" message="Pattern must not end with backslash.">.*[^\\]$</validator>
+    </xml>
 </macros>