Vocabulary
regexp

Inputs
stringa string
regexpa regexp


Outputs
slice/fthe match, if one exists


Word description
Finds the first match of the regular expression in the string, and returns it as a slice. If there is no match, then f is returned.

Definition