Skip to content

Fails to detect repeated operators in a single expression (e.g. a &&& b) #61

Open
@ItsAshleyJ182

Description

@ItsAshleyJ182

Parsing search strings such as 'a &&& b' or even 'a & & b' generates a result of
AND( Symbol('a'), Symbol('yes') )
When realistically, neither expression makes that much sense syntactically. Looking at the code, there only seems to be checking for repeated Symbol objects. Is this a design decision that was made during development? I see this leading to potential instances where a user would send in an incorrect search string that evaluates to an unintended result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions