Avoid O(n*m) complexity in StringRef::find_first(_not)_of(StringRef).