--- a/src/eric7/Documentation/Source/eric7.Utilities.__init__.html Fri Dec 22 11:04:32 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.Utilities.__init__.html Fri Dec 22 13:57:47 2023 +0100 @@ -14,7 +14,7 @@ <h3>Global Attributes</h3> <table> -<tr><td>_escape</td></tr><tr><td>_escape_map</td></tr><tr><td>_uescape</td></tr><tr><td>_uunescape</td></tr><tr><td>codingBytes_regexps</td></tr><tr><td>coding_regexps</td></tr><tr><td>supportedCodecs</td></tr> +<tr><td>_escape</td></tr><tr><td>_escape_map</td></tr><tr><td>_slashmap</td></tr><tr><td>_uescape</td></tr><tr><td>_uunescape</td></tr><tr><td>codingBytes_regexps</td></tr><tr><td>coding_regexps</td></tr><tr><td>supportedCodecs</td></tr> </table> <h3>Classes</h3> @@ -178,12 +178,16 @@ <td>Function to get the index (start position) of a regular expression match within some text.</td> </tr> <tr> +<td><a href="#slash">slash</a></td> +<td>Function to convert an escaped string to a string containing escape codes.</td> +</tr> +<tr> <td><a href="#unescape_uentities">unescape_uentities</a></td> <td>Function to decode html entities.</td> </tr> <tr> <td><a href="#unslash">unslash</a></td> -<td>Function to convert a string containg escape codes to an escaped string.</td> +<td>Function to convert a string containing escape codes to an escaped string.</td> </tr> <tr> <td><a href="#writeEncodedFile">writeEncodedFile</a></td> @@ -1448,6 +1452,38 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> +<a NAME="slash" ID="slash"></a> +<h2>slash</h2> +<b>slash</b>(<i>txt</i>) + +<p> + Function to convert an escaped string to a string containing escape codes. +</p> +<p> + Note: This is the reverse of 'unslash()'. +</p> +<dl> + +<dt><i>txt</i> (str)</dt> +<dd> +string to be converted +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +converted string containing escaped escape codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> <a NAME="unescape_uentities" ID="unescape_uentities"></a> <h2>unescape_uentities</h2> <b>unescape_uentities</b>(<i>m</i>) @@ -1482,7 +1518,7 @@ <b>unslash</b>(<i>txt</i>) <p> - Function to convert a string containg escape codes to an escaped string. + Function to convert a string containing escape codes to an escaped string. </p> <dl>