mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
15 lines
602 B
Plaintext
15 lines
602 B
Plaintext
|
<h3>regexp_match() function</h3>
|
||
|
Returns true if any part of a string matches the supplied regular expression.
|
||
|
|
||
|
<p><h4>Syntax</h4>
|
||
|
regexp_match(<i>string,regex</i>)</p>
|
||
|
|
||
|
<p><h4>Arguments</h4>
|
||
|
<!-- List args for functions here-->
|
||
|
<i> string</i> → is string. The string to test against the regular expression.<br>
|
||
|
<i> regex</i> → is string. The regular expression to test against. Backslash characters must be double escaped (eg "\\s" to match a white space character).<br>
|
||
|
|
||
|
<p><h4>Example</h4>
|
||
|
<!-- Show example of function.-->
|
||
|
regexp_match('QGIS ROCKS','\\sROCKS') → 1</p>
|