CompiledRegex.findAll

Performs a regular expression match and returns an array of slices of all matches

class CompiledRegex
cstring[]
findAll
(
cstring subject
,
ref cstring[] matches_buffer
)

Parameters

subject cstring

input string

matches_buffer cstring[]

found matches will be stored here

Return Value

Type: cstring[]

Array with slices of all matches

Throws

if an error occurs when running the regex search

In: the regex must have been compiled

Meta