2015-06-11 12:02:27 +10:00
{
2015-09-20 17:12:43 +02:00
"name": "regexp_match",
"type": "function",
2016-11-08 11:56:16 +07:00
"description": "Return the first matching position matching a regular expression within a string, or 0 if the substring is not found.",
2015-06-11 12:02:27 +10:00
"arguments": [ {"arg":"input_string","description":"the string to test against the regular expression"},
2016-10-26 16:04:38 +10:00
{"arg":"regex","description":"The regular expression to test against. Backslash characters must be double escaped (eg \"\\\\\\\\s\" to match a white space character)."}
2015-06-11 12:02:27 +10:00
],
2016-11-08 11:56:16 +07:00
"examples": [ { "expression":"regexp_match('QGIS ROCKS','\\\\\\\\sROCKS')", "returns":"4"}]
2015-06-11 12:02:27 +10:00
}