Skip to content

Question about Optimization #214

@coderaiser

Description

@coderaiser

Thank you for a library with such hight quality :). I just integrated regexp-tree into Putout linter, run it on my code, and had seen a strange optimization:

require('regexp-tree').optimize(/[<>=!]/).toString()
'/[!<=>]/'

Could you please tell me is it more optimized regexp or it's a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions