|
@@ -3376,7 +3376,38 @@ Filename: "{win}\MYPROG.INI"; Section: "InstallSettings"; Key: "InstallPath"; St
|
|
|
<keyword value="Regex" />
|
|
|
<body>
|
|
|
|
|
|
-<p>...</p>
|
|
|
+<p>Regular expressions will only match ranges within a single line, never matching over multiple lines.</p>
|
|
|
+
|
|
|
+<p>ECMAScript grammar, generally similar to the grammar used by JavaScript and the .NET languages.</p>
|
|
|
+
|
|
|
+<p><extlink href="https://cplusplus.com/reference/regex/ECMAScript/">https://cplusplus.com/reference/regex/ECMAScript/</extlink></p>
|
|
|
+
|
|
|
+<p><extlink href="https://learn.microsoft.com/en-us/cpp/standard-library/regular-expressions-cpp">https://learn.microsoft.com/en-us/cpp/standard-library/regular-expressions-cpp</extlink></p>
|
|
|
+
|
|
|
+<p><extlink href="https://regex101.com/r/fYE7S3/1">https://regex101.com/r/fYE7S3/1</extlink></p>
|
|
|
+
|
|
|
+<table>
|
|
|
+<tr><td><u>Escape Sequence</u></td><td><u>Meaning</u></td></tr>
|
|
|
+<tr>
|
|
|
+ <td> </td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+ <td>$1 through $9 or \1 through \9</td><td>The corresponding submatch</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+ <td>$& or \0</td><td>The full match</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+ <td>$$</td><td>A literal '$' character</td>
|
|
|
+</tr>
|
|
|
+<tr>
|
|
|
+ <td>\\, \a, \b, \f, \r, \n, \t, \v</td><td>A literal '\', '\a', '\b', etc. character</td>
|
|
|
+</tr>
|
|
|
+</table>
|
|
|
+
|
|
|
+<p>For example, if the search string was (Ex)(ample) and the replace string was $2$1, when applied to a script saying "Examples" this would modify the script to say "amplExs". Or if the replace string was $1\r\n$2 it would put a newline between "Ex" and "ample".</p>
|
|
|
+
|
|
|
+<p><extlink href="https://regex101.com/r/xzxvcL/1">https://regex101.com/r/xzxvcL/1</extlink></p>
|
|
|
|
|
|
</body>
|
|
|
</topic>
|