diff options
author | VolTer <mew.pur.pur@abv.bg> | 2022-10-20 04:09:17 +0200 |
---|---|---|
committer | VolTer <mew.pur.pur@abv.bg> | 2022-10-21 00:20:59 +0200 |
commit | 05a9637d5dfc0b64dd65b8e800cf83b1972de8f4 (patch) | |
tree | 60561bb454f03b40729452761088b62322a037c8 /modules/regex/doc_classes/RegEx.xml | |
parent | 28a4eec9a77bc797b7147be2453cdbe85cf47d7f (diff) |
Fix small mistakes throughout much of the documentation
Diffstat (limited to 'modules/regex/doc_classes/RegEx.xml')
-rw-r--r-- | modules/regex/doc_classes/RegEx.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/regex/doc_classes/RegEx.xml b/modules/regex/doc_classes/RegEx.xml index 56404f796c..2abfc93722 100644 --- a/modules/regex/doc_classes/RegEx.xml +++ b/modules/regex/doc_classes/RegEx.xml @@ -4,7 +4,7 @@ Class for searching text for patterns using regular expressions. </brief_description> <description> - A regular expression (or regex) is a compact language that can be used to recognise strings that follow a specific pattern, such as URLs, email addresses, complete sentences, etc. For instance, a regex of [code]ab[0-9][/code] would find any string that is [code]ab[/code] followed by any number from [code]0[/code] to [code]9[/code]. For a more in-depth look, you can easily find various tutorials and detailed explanations on the Internet. + A regular expression (or regex) is a compact language that can be used to recognise strings that follow a specific pattern, such as URLs, email addresses, complete sentences, etc. For example, a regex of [code]ab[0-9][/code] would find any string that is [code]ab[/code] followed by any number from [code]0[/code] to [code]9[/code]. For a more in-depth look, you can easily find various tutorials and detailed explanations on the Internet. To begin, the RegEx object needs to be compiled with the search pattern using [method compile] before it can be used. [codeblock] var regex = RegEx.new() |