cfunction
src/core/peg.c on line 1705, column 1
(peg/find peg text &opt start & args)
Find first index where the peg matches in text. Returns an integer,
or nil if not found.
(peg/find ':a "Battery temperature: 40 °C")
# => 0 index of the first upper/lower case character
# :a (range "az" "AZ")
(peg/find ':s "Battery temperature: 40 °C")
# => 7 index of the first whitespace character
# :s (set " \t\r\n\0\f\v")
(peg/find ':d "Battery temperature: 40 °C")
# => 21 index of the first number