Skip to content
Permalink
Browse files

Add note that non-greedy regular expressions are not supported to fun…

…ction help
  • Loading branch information
nyalldawson committed Aug 8, 2013
1 parent 9db8e02 commit 2087de10608705fc934864da19a5417114a63c4d
@@ -7,7 +7,7 @@ Returns true if any part of a string matches the supplied regular expression.
<p><h4>Arguments</h4>
<!-- List args for functions here-->
<i> string</i> &rarr; is string. The string to test against the regular expression.<br>
<i> regex</i> &rarr; is string. The regular expression to test against. Backslash characters must be double escaped (eg "\\s" to match a white space character).<br>
<i> regex</i> &rarr; is string. The regular expression to test against. Backslash characters must be double escaped (eg "\\s" to match a white space character). Non-greedy regular expressions are not supported.<br>

<p><h4>Example</h4>
<!-- Show example of function.-->
@@ -7,7 +7,7 @@ Returns a string with the supplied regular expression replaced.
<p><h4>Arguments</h4>
<!-- List args for functions here-->
<i> string</i> &rarr; is string. The start string.<br>
<i> regex</i> &rarr; is string. The regular expression to replace. Backslash characters must be double escaped (eg "\\s" to match a white space character).<br>
<i> regex</i> &rarr; is string. The regular expression to replace. Backslash characters must be double escaped (eg "\\s" to match a white space character). Non-greedy regular expressions are not supported.<br>
<i> after</i> &rarr; is string. The string that will replace any matching occurences of the supplied regular expression. Captured groups can be inserted into the replacement string using \\1, \\2, etc. <br></p>

<p><h4>Example</h4>
@@ -7,7 +7,7 @@ Returns the portion of a string which matches a supplied regular expression.
<p><h4>Arguments</h4>
<!-- List args for functions here-->
<i> string</i> &rarr; is string. The input string.<br>
<i> regex</i> &rarr; is string. The regular expression to match against. Backslash characters must be double escaped (eg "\\s" to match a white space character).<br>
<i> regex</i> &rarr; is string. The regular expression to match against. Backslash characters must be double escaped (eg "\\s" to match a white space character). Non-greedy regular expressions are not supported.<br>

<p><h4>Example</h4>
<!-- Show example of function.-->

0 comments on commit 2087de1

Please sign in to comment.
You can’t perform that action at this time.