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

Must match beginning character with ending char #1

Open
pethopal opened this issue Sep 25, 2018 · 1 comment
Open

Must match beginning character with ending char #1

pethopal opened this issue Sep 25, 2018 · 1 comment
Labels

Comments

@pethopal
Copy link

pethopal commented Sep 25, 2018

Nice sample extension, thanks... :)
In the parser beginning parenthesis in the sequence must match with appropriate one in the end...
Something like that:

if (current.IsWhiteSpaceOrZero() && firstChar != null)
                        return false;

if (current == ']' && firstChar != '[')
                        return false;
if (current == ')' && firstChar != '(')
                        return false;
@cyotek cyotek added the bug label Oct 16, 2018
@cyotek
Copy link
Owner

cyotek commented Oct 16, 2018

Hello,

Apologies for the delay in responding to the issue and thanks for pointing out the error - I'll get that corrected Soon(tm)!

Thanks again!

Regards;
Richard Moss

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

2 participants