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

Breakx pasto book 3.3.2 table String proc. / Pattern mat. / Pattern Comp. #299

Open
ronaldxs opened this issue Nov 28, 2022 · 2 comments
Open

Comments

@ronaldxs
Copy link

ronaldxs commented Nov 28, 2022

In the book and corresponding file book/string.tex, Break(c) and Breakx(c) have the exact same description in table for pattern functions in "Pattern Matching" from "String Processing" chapter. There is a better description of Breakx in appendix A.6 "Pattern Functions". Tempted to patch myself but new here.

@Jafaral
Copy link
Member

Jafaral commented Oct 5, 2023

@Don-Ward, can you help with this one ?

@Don-Ward
Copy link
Collaborator

Don-Ward commented Oct 5, 2023

It looks like a typo. As pointed out by ronaldxs, the two entries in the table on page 50 are identical, but the description in the appendix is different. Looking at utr18c, the appendix reflects the discussion there. So I'd replace the description for breakx on page 50 with "like break but can also include characters from c if required for the success of a larger match".

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

3 participants