gagolews / gagolews/stringi

Add `invert` arg to `stri_locate_*`

Open
#136 1 comment 0 reactions 1 assignee Claimed by @gagolews View on GitHub
new feature
Dominant language
C++
Stars
318
Forks
48
PR merge metrics
No merged PRs in 30d

Description

```

invert_match {stringr} R Documentation
Switch location of matches to location of non-matches.

Description

Invert a matrix of match locations to match the opposite of what was previously matched.

Usage

invert_match(loc)
Arguments

loc
matrix of match locations, as from str_locate_all

Value

numeric match giving locations of non-matches
```

cf. https://github.com/hadley/stringr/issues/50

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.