diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-03-07 16:41:36 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-03-07 16:41:36 +0100 |
commit | 967d2526d0de56241dfd98bebe9ad01a369887cb (patch) | |
tree | 86ea557468ad3b75c15fc2db1b3a1ba9fd151c94 | |
parent | 68a2048e7a2350319935f17e5f98c86103ac3e77 (diff) | |
download | bugzilla-triage-967d2526d0de56241dfd98bebe9ad01a369887cb.tar.gz |
fix issue 30 ... new format of Xorg.0.log
-rw-r--r-- | bugzillaBugTriage.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index fa87744..0eb2e63 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -55,7 +55,9 @@ var msgStrs = {}; var CommentRe = new RegExp("^\\s*#"); var BlankLineRe = new RegExp("^\\s*$"); -var ChipsetRE = new RegExp("^\\(--\\) ([A-Za-z]+)\\([0-9]?\\): Chipset: (.*)$"); +// nová řádka +// [ 65.631] (--) intel(0): Chipset: "845G" +var ChipsetRE = new RegExp("^\\s*\\[?[ 0-9.]*\\]?\\s*\\(--\\) ([A-Za-z]+)\\([0-9]?\\): Chipset: (.*)$"); var ATIgetIDRE = new RegExp("^.*\\(ChipID = 0x([0-9a-fA-F]+)\\).*$"); var AbrtRE = new RegExp("^\\s*\\[abrt\\]"); var signalHandlerRE = new RegExp("^\\s*#[0-9]*\\s*<signal handler called>"); @@ -1041,6 +1043,7 @@ BzPage.prototype.fillInChipMagic = function () { filter(function (v,i,a) { return ChipsetRE.test(v); }); + console.log("interestingLineArr = " + interestingLineArr.toSource()); if (interestingLineArr.length >0) { interestingArray = ChipsetRE.exec(interestingLineArr[0]); interestingLine = interestingArray[2]. |