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

Add atom W for word boundary #37

Open
ingydotnet opened this issue Mar 29, 2015 · 2 comments
Open

Add atom W for word boundary #37

ingydotnet opened this issue Mar 29, 2015 · 2 comments

Comments

@ingydotnet
Copy link
Collaborator

Currently people use \b in Pegex regex rules, but that's a Perl thing.

Atoms provide abstractions for portability.

@ingydotnet
Copy link
Collaborator Author

See #38.

@bpj
Copy link

bpj commented Apr 20, 2020

It would be nice to have WSTART => '(?<!\w)(?=\w)' and WEND => '(?<=\w)(?!\w)'. Just my two worthless coins.

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

2 participants