|
@@ -206,7 +206,7 @@ function getFormatStringChunks(formatStr) {
|
|
|
// Break the formatting string into an array of chunks
|
|
// Break the formatting string into an array of chunks
|
|
|
function chunkFormatString(formatStr) {
|
|
function chunkFormatString(formatStr) {
|
|
|
var chunks = [];
|
|
var chunks = [];
|
|
|
- var chunker = /\[([^\]]*)\]|\(([^\)]*)\)|(LT|(\w)\4*o?)|([^\w\[\(]+)/g; // TODO: more descrimination
|
|
|
|
|
|
|
+ var chunker = /\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g; // TODO: more descrimination
|
|
|
var match;
|
|
var match;
|
|
|
|
|
|
|
|
while ((match = chunker.exec(formatStr))) {
|
|
while ((match = chunker.exec(formatStr))) {
|