User:Xenwolf/SandBox: Difference between revisions
→Testing factor notation: new section |
→Testing factor notation: fixed |
||
Line 126: | Line 126: | ||
== Testing factor notation == | == Testing factor notation == | ||
<code><nowiki>{{#regex: 2 | <code><nowiki>{{#replace:{{#regex: 2^-4 * 3^4 * 5^-1|/(\d+)\s*\^\s*(-?\d+)(\s*\*\s*)?/|\1<sup>\2</sup> \3&nbsp;}}|*|⋅}}</nowiki></code> | ||
{{#regex: 2 | {{#replace:{{#regex: 2^-4 * 3^4 * 5^-1|/(\d+)\s*\^\s*(-?\d+)(\s*\*\s*)?/|\1<sup>\2</sup> \3 }}|*|⋅}} |