Skip to content

Commit

Permalink
Add note that non-greedy regular expressions are not supported to fun…
Browse files Browse the repository at this point in the history
…ction help
  • Loading branch information
nyalldawson committed Aug 8, 2013
1 parent 9db8e02 commit 2087de1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/function_help/regexp_match
Expand Up @@ -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.-->
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/regexp_replace
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion resources/function_help/regexp_substr
Expand Up @@ -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.-->
Expand Down

0 comments on commit 2087de1

Please sign in to comment.