startIndex = regexpi(str, expression)
out = regexpi(str, expression, outkey)
out = regexpi(..., option)
| Parameter | Description |
|---|---|
| str | a character vector, string array, or cell array of character vectors. |
| expression | a regular expression. |
| outkey | same output keys as regexp. |
| Parameter | Description |
|---|---|
| out | match indices, matches, tokens, named token structures, or split text. |
regexpi is equivalent to regexp with case-insensitive matching enabled by default.
regexpi('ABC abc', 'abc', 'match')
| Version | Description |
|---|---|
| 1.17.0 | initial version |