Skip to content

Can we build a regex-trie from regexes? #4

@perkfly

Description

@perkfly

suppose there are a list of regexes:

a.*
abc.*
acc\d+efg

and a string acc4

Naively, we would have to loop through all the regexes, and find a match.

Can we build a regex-trie such that we don't have to loop over all res?

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