Std.Regex.escape
1 declaration
fn
escape: Str -> StrThis is a callable function.
What it does
Text quoted so a pattern matches it exactly.
What a caller reaches for when part of a pattern comes from somewhere else —
a name typed into a form, a value read from a file — which is otherwise a
way to have someone else's text change what the pattern means.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
