From 2087de10608705fc934864da19a5417114a63c4d Mon Sep 17 00:00:00 2001
From: Nyall Dawson Arguments
string → is string. The string to test against the regular expression.
- regex → is string. The regular expression to test against. Backslash characters must be double escaped (eg "\\s" to match a white space character).
+ regex → 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.
Example
diff --git a/resources/function_help/regexp_replace b/resources/function_help/regexp_replace
index 5a67d69b69f..b80285118ec 100644
--- a/resources/function_help/regexp_replace
+++ b/resources/function_help/regexp_replace
@@ -7,7 +7,7 @@ Returns a string with the supplied regular expression replaced.
Arguments
string → is string. The start string.
- regex → is string. The regular expression to replace. Backslash characters must be double escaped (eg "\\s" to match a white space character).
+ regex → 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.
after → 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.