aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bugzillaBugTriage.js5
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].