UNPKG

semantic-regexp

Version:

This is an implementation of the semantic expression of regular expression code

2 lines (1 loc) 352 B
define(["exports"],(function(e){"use strict";class t{constructor(e,t){this.regExpPattern="",this.regExpMode=void 0,this.end=()=>new RegExp(this.regExpPattern,this.regExpMode),this.regExpPattern=e.join(""),this.regExpMode=t.join("")}}e.SRegExpFactory=t,e.creatRegExp=function(e,r){return new t(e,r)},Object.defineProperty(e,"__esModule",{value:!0})}));