![]() | Download Help (Windows Only) |
Owning Class: string
Requires: MathScript RT Module
m = regex_i(a, format)
m = regex_i(a, format, 'once')
[m, n] = regex_i(a, format)
[m, n] = regex_i(a, format, 'once')
Legacy Name: regexpi
Performs a case-insensitive search for a regular expression in the input string a and returns the first and last indexes of the matched strings.
Name | Description |
---|---|
a | Specifies the string to search. |
format | Specifies the pattern for which you want to search in a. format is case insensitive. |
'once' | Directs LabVIEW to return the first and last indexes of only the first matched string. |
Name | Description |
---|---|
m | Returns the first indexes of all matched strings. If you specify 'once', m returns the first index of the first matched string. |
n | Returns the last indexes of all matched strings. If you specify 'once', n returns the last index of the first matched string. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | Yes |
Supported on RT targets | Yes |
Suitable for bounded execution times on RT | Not characterized |
a = 'Run regex_i in LabVIEW MathScript';
format = 'L[a-z]+W';
[m, n] = regex_i(a, format)
Helpful
Not Helpful