[AskJS] Optional maximum evaluation time for RegExp

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • re2-wasm

  • There are regex automata implementations like RE2 which guarantee execution in linear time and essentially solve this issue. You could consider node-re2 and re2-wasm if you're handling user-supplied regexes. Though note that back-tracking engines are faster on non-pathological input which is why they're the default.

  • node-re2

    node.js bindings for RE2: fast, safe alternative to backtracking regular expression engines.

  • There are regex automata implementations like RE2 which guarantee execution in linear time and essentially solve this issue. You could consider node-re2 and re2-wasm if you're handling user-supplied regexes. Though note that back-tracking engines are faster on non-pathological input which is why they're the default.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts