用户:Raxter/沙盒:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第6行: | 第6行: | ||
<pre>{{ReReplace|replace|abcd{{=}}efgh|{{=}}|AAA}}</pre> | <pre>{{ReReplace|replace|abcd{{=}}efgh|{{=}}|AAA}}</pre> | ||
{{ | {{ReReplace|abcd{{=}}efgh|{{=}}|AAA}} | ||
<pre>{{ReReplace|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}}}</pre> | <pre>{{ReReplace|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}}}</pre> | ||
{{ | {{ReReplace|ABC {{=}} EFG|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}}} | ||
<pre>{{#invoke:String|replace|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}}}</pre> | <pre>{{#invoke:String|replace|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}}}</pre> | ||
| 第15行: | 第15行: | ||
<pre>{{ReMatch|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}|No found}}</pre> | <pre>{{ReMatch|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}|No found}}</pre> | ||
{{ | {{ReMatch|{{{2}}}|([^%-]+){{=}}([^%-]+)|{{ReReplace|{{{2}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}}}|No found}} | ||
2025年10月14日 (二) 10:46的版本
{{#invoke:String|replace|10 0 1 2 3|(%d+) (%d+) (%d+) (%d+) (%d+)|%5 %4 %3 %2 %1}}
10 0 1 2 3
{{#invoke:Regex|replace|10 0 1 2 3|(%d+) (%d+) (%d+) (%d+) (%d+)|%5 %4 %3 %2 %1}}
3 2 1 0 10
{{ReReplace|replace|abcd{{=}}efgh|{{=}}|AAA}}
abcdAAAefgh
{{ReReplace|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}}}
ABC = EFG
{{#invoke:String|replace|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}}}
ABC=XYZ
{{ReMatch|{{{1}}}|([^%-]+){{=}}([^%-]+)|%1{{=}}{{font|style=opacity: 0.5|%2}}|No found}}
No found