matchAll()

Data / String Functions

Description

Uses a regular expression to find all matches in a string.

Syntax

std::vector> matchAll(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...