CompiledRegex.findFirst

Performs a regular expression match and return the first found match

class CompiledRegex
findFirst

Parameters

subject cstring

input string

Return Value

Type: cstring

slice to the first found match or null if no match

Throws

if an error occurs when running the regex search

In: the regex must have been compiled

Meta