Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow stri_locate_first's output to be consistent with that of stri_locate_all #424

Open
gagolews opened this issue May 6, 2021 · 3 comments

Comments

@gagolews
Copy link
Owner

gagolews commented May 6, 2021

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.

@gagolews gagolews added this to the stringi-1.7 milestone May 6, 2021
@gagolews
Copy link
Owner Author

gagolews commented May 6, 2021

e.g., stri_extract_all and stri_split have simplify and this means exactly that

@gagolews
Copy link
Owner Author

and also omit_no_match

@gagolews gagolews modified the milestones: stringi-1.7, stringi-1.8 Jun 20, 2021
@gagolews
Copy link
Owner Author

Related to #127.

@gagolews gagolews removed this from the stringi-1.8 milestone Nov 3, 2023
@gagolews gagolews changed the title Allow stri_locate_first output be consistent with that of stri_locate_all Allow stri_locate_first's output to be consistent with that of stri_locate_all Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant