Regex module

find

procedure · 2 overloadsSource

The leftmost match at or after byte start.

find :: (re: *Regex, text: string, start := 0) -> (Match, bool)

The leftmost match at or after byte start.

Parameters

re: *Regex
text: string
start := 0
the byte offset to begin at. Anchors and \b still see the text before it.

Returns

bool
find :: ($R: Type, text: string, start := 0) -> (Match, bool)

Parameters

$R: Type
text: string
start := 0

Returns

bool

See also