printj/bits/02_regexp.js

4 lines
351 B
JavaScript
Raw Normal View History

2018-02-20 23:13:09 +00:00
var REGEX/*:RegExp*/ = /%(?:%|([1-9]\d*\$)?([-+ 0#']*)?([1-9]\d*|\*(?:[1-9]\d*\$)?)?(?:\.(\d+|\*(?:[1-9]\d*\$)?))?(hh?|ll?|[LzjtqZIw])?([diouxXfFeEgGaAcCsSpnDUOmbByYJVT]))/g;
/* |A-----------AB----------BC---------------------------CD----------------------------DE-------------------EF---------------------------------F| */
2016-09-19 06:33:23 +00:00