How to Implement Regular Expressions in JavaScript Using Derivatives | Dark Hacker News