nl_tokens: RegExp - finding RegExp : string starts with slash ends with slash / flags
pl_tokens: function createRegexp ( s ) { let mExp = / ^\/(.*)\/([gimy]*)$ / . exec ( s ) if ( mExp ) { return <mask> RegExp ( mExp [ 1 ] , mExp [ 2 ] ) } else { return new RegExp ( s ) } }