[][src]Function places::match_impl::string_match

fn string_match(token: &str, source: &str) -> bool

Returns true if source starts with token ignoring case.

Loose port of stringMatch from places, which we've modified to perform more correct case folding (if this turns out to be a perf issue we can always address it then).