* Fix bug in MCI parsing with lower case alpha character such as 'f' for fIRST lETTER text styles

* Minor fixes
This commit is contained in:
Bryan Ashby
2015-07-01 22:53:01 -06:00
parent bb7504a35a
commit 8e0dc505b1
3 changed files with 8 additions and 6 deletions

View File

@@ -135,7 +135,7 @@ function ANSIEscapeParser(options) {
function parseMCI(buffer) {
// :TODO: move this to "constants" seciton @ top
var mciRe = /\%([A-Z]{2})([0-9]{1,2})?(?:\(([0-9A-Z,]+)\))*/g;
var mciRe = /\%([A-Z]{2})([0-9]{1,2})?(?:\(([0-9A-Za-z,]+)\))*/g;
var pos = 0;
var match;
var mciCode;