nl_tokens: Strips variadic chars from flag .
pl_tokens: function stripVariadic ( val , variadic ) { variadic = escape ( variadic || constants_1 . VARIADIC_CHAR ) ; var exp = new RegExp ( variadic + '$' ) ; return val . <mask> ( exp , '' ) ; }