I'm using regular expressions in JMP Recode's "Replace String" function to transform strings like "en127" into "1270". My approach is to capture the two digits using:
<SPAN>Find: en(\d+)</SPAN>
Aber wenn ich versuche, Folgendes zu verwenden:
<SPAN><SPAN class="hljs-section">Replace: \10</SPAN></SPAN>
…es wird als Verweis auf Gruppe 10 interpretiert, nicht auf Gruppe 1, gefolgt von einer wörtlichen „0“ .
Is there a way in JMP to append ein Literal"0"(oder eine beliebige Ziffer) nach einer Erfassungsgruppe wohne dass es als höherwertige Gruppe missverstanden wird?
Other engines (like Perl or JavaScript) let you disambiguate with braces or dollar signs (e.g., ${1}0), but JMP doesn't seem to support those.
Ich bevorzuge eine Lösung, die in einem Schritt erfolgt und nicht eine, die einen zweiten Austauschvorgang erfordert.
Gibt es irgendwelche Erkenntnisse, wie man das in JMP sauber macht?
Danke!