File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31172,7 +31172,7 @@ function msgBelongsTo(msg) {
3117231172 return new Ticket('jira', ticketMeta[0]);
3117331173
3117431174 } else if (/^\w+\/\w+-?\w+-?\w+#\d{1,6}/.test(msg)) {
31175- let ticketMeta = msg.match(/^(\w+\/\w+-?\w+)#(\d{1,6})/);
31175+ let ticketMeta = msg.match(/^(\w+\/\w+-?\w+-?\w+ )#(\d{1,6})/);
3117631176 // ticketMeta[1] = board
3117731177 // ticketMeta[2] = ticket ID
3117831178 return new Ticket(ticketMeta[1].trim(), ticketMeta[2].trim())
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ function msgBelongsTo(msg) {
7979 return new Ticket ( 'jira' , ticketMeta [ 0 ] ) ;
8080
8181 } else if ( / ^ \w + \/ \w + - ? \w + - ? \w + # \d { 1 , 6 } / . test ( msg ) ) {
82- let ticketMeta = msg . match ( / ^ ( \w + \/ \w + - ? \w + ) # ( \d { 1 , 6 } ) / ) ;
82+ let ticketMeta = msg . match ( / ^ ( \w + \/ \w + - ? \w + - ? \w + ) # ( \d { 1 , 6 } ) / ) ;
8383 // ticketMeta[1] = board
8484 // ticketMeta[2] = ticket ID
8585 return new Ticket ( ticketMeta [ 1 ] . trim ( ) , ticketMeta [ 2 ] . trim ( ) )
You can’t perform that action at this time.
0 commit comments