Allow stri_locate_first's output to be consistent with that of stri_locate_all
Open
- Dominant language
- C++
- Stars
- 318
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
Add `?simplify?` argument (`default=TRUE` for backward compatibility) to `stri_locate_first` and other `*_first` and `*_last` functions so that they generate the same kind of results as `*_all*`, i.e., lists.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the stri_locate_first entry point and identify the related *_first and *_last functions named in the issue. Compare their current results with the corresponding *_all* functions; done means each accepts simplify=TRUE by default while supporting list-shaped results when simplification is disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100