Skip to content

Time complexity of compiling a regex #1158

Answered by BurntSushi
septatrix asked this question in Q&A
Discussion options

You must be logged in to vote

Can you say why this section in the docs didn't help you? It doesn't just narrowly address your time complexity question, but it also addresses your broader use case in a lot of detail. If you're accepting untrusted patterns from end users, I would recommend reading the entire section carefully.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@septatrix
Comment options

Answer selected by septatrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants