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

Unicode support. #8

Open
prataprc opened this issue May 16, 2017 · 2 comments
Open

Unicode support. #8

prataprc opened this issue May 16, 2017 · 2 comments
Assignees
Labels

Comments

@prataprc
Copy link
Owner

Default Scanner (SimpleScanner) and Terminal parser functions should have unicode support, along with utf8 encoding.

@prataprc prataprc added the bug label May 16, 2017
@prataprc
Copy link
Owner Author

prataprc commented Jun 7, 2017

While at it, add support for white spaces in unicode, for instance SimpleScanner.SkipWS().

@prataprc
Copy link
Owner Author

prataprc commented Jul 3, 2017

Skipping Unicode whitespace can be achieved by using SetWSPattern() API.
By setting the necessary whitespace unicode-points.

There is also unicode category called, Separator, Spaces
http://www.fileformat.info/info/unicode/category/Zs/list.htm

Can be used with golang's regexp \p{}: https://golang.org/pkg/regexp/syntax/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant