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

str_view(), repetition at most n times yields error #807, and small typos in "Iteration chapter" #808

Merged
merged 7 commits into from
Apr 14, 2021

Conversation

vanderlindenma
Copy link
Contributor

@vanderlindenma vanderlindenma commented Oct 2, 2019

Proposed fix related to this issue: #807

A more comprehensive fix should perhaps discuss why "{,m}: at most m" does not work (or warn the reader that it does not)?

Or perhaps the error message when using {,m} is clear enough and the inclusion of {,m} in the book is intentional (in the sense that it discusses a valid regex, albeit one that does not work with stingr, and is judiciously not included in the examples of stingr applications)?

(The second commit corrects some small typos in the "Iteration" chapter)

Proposed fix related to this issue: #807

A more comprehensive fix should perhaps discuss why "`{,m}`: at most m" does not work (or warn the reader that it does not)
str_view(), repetition at most n times yields error #807
Correcting two small typos
@vanderlindenma vanderlindenma changed the title str_view(), repetition at most n times yields error #807 str_view(), repetition at most n times yields error #807, and small typos in "Iteration chapter" Oct 9, 2019
@hadley
Copy link
Owner

hadley commented Jan 15, 2020

How about just changing it to {1,m}?

@mine-cetinkaya-rundel mine-cetinkaya-rundel merged commit 2ee3426 into hadley:master Apr 14, 2021
@mine-cetinkaya-rundel
Copy link
Collaborator

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

3 participants