match()

Data / String Functions

Description

Uses a regular expression to match a string. Returns a vector of matches.

Syntax

std::vector match(std::string s, std::string pattern)

Parameters

NameTypeDescription
sstd::stringthe string to search
patternstd::stringregular expression pattern

Returns

std::vector

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...