match()
Data / String FunctionsDescription
Uses a regular expression to match a string. Returns a vector of matches.
Syntax
std::vector match(std::string s, std::string pattern)
Parameters
| Name | Type | Description |
|---|---|---|
| s | std::string | the string to search |
| pattern | std::string | regular expression pattern |
Returns
std::vectorRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...