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

Parsing, regex #26

Open
borgarlie opened this issue Apr 26, 2016 · 0 comments
Open

Parsing, regex #26

borgarlie opened this issue Apr 26, 2016 · 0 comments
Labels

Comments

@borgarlie
Copy link
Member

The way we are splitting the document up when parsing is done with this regular expression:
var re = /(?:")([^"]+)(?:")|([^\s"]+)(?=\s+|$)/g;
Using this will cause a bug when you have a double quote on a line and dont terminate it. When doing so, it will not split whats inside the quotes.

@borgarlie borgarlie added the bug label Apr 26, 2016
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