1.0.4 • Published 1 year ago
@jsep-plugin/regex v1.0.4
@jsep-plugin/regex
A JSEP plugin for adding regex expression support. Allows expressions of the form:
jsep('/abc/');
jsep('/abc/ig');
jsep('/[a-z]{3}/ig.test(a)');Install
npm install @jsep-plugin/regex
# or
yarn add @jsep-plugin/regexUsage
import jsep from 'jsep';
import jsepRegex from '@jsep-plugin/regex';
jsep.plugins.register(jsepRegex);