Regex module

look_holds

procedure · 1 overloadSource

Whether look holds at pos. The whole text is context, so a search that starts mid-text still sees the byte before it.

look_holds :: (look: Look, text: string, pos: int) -> bool

Whether look holds at pos. The whole text is context, so a search that starts mid-text still sees the byte before it.

Parameters

look: Look
text: string
pos: int

Returns

bool

See also