This commit is contained in:
Harrissou Sant-anna 2021-02-19 08:07:21 +01:00 committed by Nyall Dawson
parent ce4ce5da06
commit d4b1f3d4b4

View File

@ -4,7 +4,7 @@
"groups": ["Conditionals", "String"],
"description": "Return the first matching position matching a regular expression within an unicode string, or 0 if the substring is not found.",
"arguments": [ {"arg":"input_string","description":"the string to test against the regular expression"},
{"arg":"regex","description":"The regular expression to test against. Backslash characters must be double escaped (e.g., \"\\\\\\\\s\" to match a white space character or \"\\\\\\\\b\" to a match word boundary)."}
{"arg":"regex","description":"The regular expression to test against. Backslash characters must be double escaped (e.g., \"\\\\\\\\s\" to match a white space character or \"\\\\\\\\b\" to match a word boundary)."}
],
"examples": [ { "expression":"regexp_match('QGIS ROCKS','\\\\\\\\sROCKS')", "returns":"5"}, { "expression":"regexp_match('Budač','udač\\\\\\\\b')", "returns":"2"}]
}