nl_tokens: Parses convertPath property from a given option object .
pl_tokens: function parse ( <mask> ) { if ( ! option || ! option . convertPath || typeof option . convertPath !== "object" ) { return null } const converters = [ ] for ( const pattern of normalizeValue ( option . convertPath ) ) { const include = toStringArray ( pattern . include ) const exclude = toStringArray ( pattern . exclude ) const fromRegexp = new RegExp ( String ( pattern . replace [ 0 ] ) ) //eslint-disable-line require-unicode-regexp const toStr = String ( pattern . replace [ 1 ] ) converters . push ( { match : createMatch ( include , exclude ) , convert : defineConvert ( fromRegexp , toStr ) , } ) } return combine ( converters ) }