Method in text · Searchable coil-stdlib

Searchable::find

fn find<P: Pattern>(T hay, P pat) -> Option<Span>
Import
use text::{Searchable};
Source: src/text.hy

Returns the byte span of the first match of pat, or None.

Parameters#

NameType
hayT
patP

Returns#

Option<Span>

See also#

↑ ↓ navigate ↵ open