Add more difference infrastructure

This commit is contained in:
Dan Hawkins 2019-07-04 20:44:51 +01:00
commit a2a582cd39

View file

@ -166,7 +166,7 @@ def extractjiraticketinfo(String line) {
def extractreverts(String line) {
boolean result = true
def pattern1 = '^(.*)(Revert \"(.*)\"'
def pattern1 = '^(.*)Revert \"(.*)\"'
def match1 = (line =~ pattern1)
if (match1.find()) {
def line2 = match1.group(2)
@ -174,7 +174,7 @@ def extractreverts(String line) {
return [true, originaljiraticketinfo, originalcomment]
}
def pattern2 = '^(.*)(Partial Revert \"(.*)\"'
def pattern2 = '^(.*)Partial Revert \"(.*)\"'
def match2 = (line =~ pattern2)
if (match2.find()) {
def line2 = match2.group(2)