Skip to content

Must match beginning character with ending char #1

@pethopal

Description

@pethopal

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions