diff website/src/manual.html @ 1422:e48290f3d9fb

better quoting
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 17 Nov 2019 16:28:51 -0700
parents 9dfff82dfc59
children 56fb5cd8228d
line wrap: on
line diff
--- a/website/src/manual.html	Sat Oct 26 22:28:46 2019 -0600
+++ b/website/src/manual.html	Sun Nov 17 16:28:51 2019 -0700
@@ -2416,12 +2416,6 @@
 </pre>
 
 
-
-<h4 heading><a name="String.literal" href="#String.literal"><code>String.literal (s)</code></a></h4>
-<p>
-Returns a string which matches the literal string <code>s</code> in a regular expression.  This function is simply the Java method <a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)"><code>Pattern.quote</code></a>.
-
-
 <h4 heading><a name="String.lower" href="#String.lower"><code>String.lower (s)</code></a></h4>
 <p>
 Receives a string and returns a copy of this string with all
@@ -2430,7 +2424,6 @@
 
 
 
-
 <h4 heading><a name="String.match" href="#String.match"><code>String.match (s, pattern [, init])</code></a></h4>
 
 <p>
@@ -2456,6 +2449,11 @@
 </pre>
 
 
+<h4 heading><a name="String.regex_quote" href="#String.regex_quote"><code>String.regex_quote (s)</code></a></h4>
+<p>
+Returns a string which matches the literal string <code>s</code> in a regular expression.  This function is simply the Java method <a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#quote(java.lang.String)"><code>Pattern.quote</code></a>.
+
+
 <h4 heading><a name="String.rep" href="#String.rep"><code>String.rep (s, n [, sep])</code></a></h4>
 <p>
 Returns a string that is the concatenation of <code>n</code> copies of