Skip to content

Latest commit

 

History

History

regex

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm size

@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/regex

Usage

import jsep from 'jsep';
import jsepRegex from '@jsep-plugin/regex';
jsep.plugins.register(jsepRegex);

Meta

LICENSE (MIT)