retemplate
Regular Expressions using Tagged Templates
Installation
npm i retemplate
Usage
; // composing regular expressions with tagged templates:;;;; // re = /say (?:(?<part>hello\?))/re.test"say hello?"; // true // composite matchers; result; // [0, 1, 2]