Merge several regexes to a single one

前端 未结 4 736
庸人自扰
庸人自扰 2021-01-12 14:15

I have several regexes (actually several thousands), and I must check if one string matches any of these regexes. It is not very efficient, so I would like to merge all thes

4条回答
  •  春和景丽
    2021-01-12 14:40

    I can't imagine, even if possible, that the resultant regex would be any more efficient.

提交回复
热议问题