Hacker News new | ask | show | jobs
by tcwc 4498 days ago
It depends on your regex engine. The author here is concatenating all of the paths into a single pattern, an automata based engine would ideally compile away the disjunction and offer performance linear with the input path length.