diff --git a/docs/contributing/Regular-Expression-Regex.html b/docs/contributing/Regular-Expression-Regex.html index 2a3af2f..261ec2f 100644 --- a/docs/contributing/Regular-Expression-Regex.html +++ b/docs/contributing/Regular-Expression-Regex.html @@ -53,6 +53,40 @@ Let's take a look at unicode characters for character matching might be supported or not.
+ + - name: 'Example\.es(m|p)'
+ msg:
+ - <<: *useOnlyOneX
+ subs: [ 'Example Plugin' ]
+ condition: 'many("Example\.es(m|p)")'
+
+
+The regex in the name field uses C++'s standard regex, which doesn't support unicode.
The regex in the condition field uses the Rust regex library, which supports unicode by default.
+
+The search dialog uses Qt's regex implementation, which doesn't support unicode characters by default (though support could be enabled).
+
+The contains filter uses C++'s standard regex, which doesn't support unicode.
The following section will concentrate on the use of regex in the name field of plugin objects in the masterlist, so that we get a better understanding of what is possible while adding and updating plugin entries.
+ +The following regular expressions can be used to match characters: