Enhance - number translation (#2780)
couple of new profiles based on feedback
This commit is contained in:
parent
0c043f915c
commit
92a1b3dd3f
|
|
@ -0,0 +1,4 @@
|
|||
<profile name="strip_nondigits" description="Remove anything that is not [0-9a-fA-F#*]">
|
||||
<rule regex="^[^0-9a-fA-F#*]*([0-9a-fA-F#*]+)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*([0-9a-fA-F#*]*)[^0-9a-fA-F#*]*$" replace="$1$2$3$4$5$6$7$8$9"/>
|
||||
<rule regex="^(.*)$" replace="$1"/>
|
||||
</profile>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<profile name="strip_symbols" description="Remove anything that is [^ (){}_-]">
|
||||
<rule regex="^[ (){}_-]*([^ (){}_-]+)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*([^ (){}_-]*)[ (){}_-]*$" replace="$1$2$3$4$5$6$7$8$9"/>
|
||||
<rule regex="^(.*)$" replace="$1"/>
|
||||
</profile>
|
||||
Loading…
Reference in New Issue