mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
19 lines
627 B
Plaintext
19 lines
627 B
Plaintext
{
|
|
"name": "regexp_substr",
|
|
"type": "function",
|
|
"groups": ["String"],
|
|
"description": "Returns the portion of a string which matches a supplied regular expression.",
|
|
"arguments": [{
|
|
"arg": "input_string",
|
|
"description": "the string to find matches in"
|
|
}, {
|
|
"arg": "regex",
|
|
"description": "The regular expression to match against. Backslash characters must be double escaped (e.g., \"\\\\\\\\s\" to match a white space character)."
|
|
}],
|
|
"examples": [{
|
|
"expression": "regexp_substr('abc123','(\\\\\\\\d+)')",
|
|
"returns": "'123'"
|
|
}],
|
|
"tags": ["regular", "matches", "supplied", "portion"]
|
|
}
|