summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRyan Stein <ryan.stein@gmx.com>2019-05-09 11:11:53 -0400
committerRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-11 09:03:19 +0200
commit42d6205e8cb7775a901e280a9984c7c5b7da172a (patch)
treeb9419314fde6951771297054c826d426de5caeba /modules
parent06d28a7722143639b10b35341ae6b37bb7355fb1 (diff)
Add RegEx substitution testcase and fix relevant docs
(cherry picked from commit a31bbb4bd920e28cbb2c737a785e91da5e7a599f)
Diffstat (limited to 'modules')
-rw-r--r--modules/regex/doc_classes/RegEx.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/regex/doc_classes/RegEx.xml b/modules/regex/doc_classes/RegEx.xml
index 0538753a47..cc8205e400 100644
--- a/modules/regex/doc_classes/RegEx.xml
+++ b/modules/regex/doc_classes/RegEx.xml
@@ -123,7 +123,7 @@
<argument index="4" name="end" type="int" default="-1">
</argument>
<description>
- Searches the text for the compiled pattern and replaces it with the specified string. Escapes and backreferences such as [code]\1[/code] and [code]\g&lt;name&gt;[/code] expanded and resolved. By default only the first instance is replaced but it can be changed for all instances (global replacement). The region to search within can be specified without modifying where the start and end anchor would be.
+ Searches the text for the compiled pattern and replaces it with the specified string. Escapes and backreferences such as [code]$1[/code] and [code]$name[/code] are expanded and resolved. By default only the first instance is replaced but it can be changed for all instances (global replacement). The region to search within can be specified without modifying where the start and end anchor would be.
</description>
</method>
</methods>