File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ export function getPullRequestIdentityValuesFromSearch(search: string): PullRequ
1515 let ownerAndRepo : string | undefined = undefined ;
1616 let prNumber : string | undefined = undefined ;
1717
18- let match = search . match ( / ( [ ^ / ] + \/ [ ^ / ] + ) \/ p u l l \/ ( \d + ) / ) ; // with org and rep name
18+ let match = search . match ( / ( [ ^ / ] + \/ [ ^ / ] + ) \/ (?: p u l l | - \/ m e r g e _ r e q u e s t s ) \/ ( \d + ) / ) ; // with org and rep name
1919 if ( match != null ) {
2020 ownerAndRepo = match [ 1 ] ;
2121 prNumber = match [ 2 ] ;
2222 }
2323
2424 if ( prNumber == null ) {
25- match = search . match ( / (?: \/ | ^ ) p u l l \/ ( \d + ) / ) ; // without repo name
25+ match = search . match ( / (?: \/ | ^ ) (?: p u l l | - \/ m e r g e _ r e q u e s t s ) \/ ( \d + ) / ) ; // without repo name
2626 if ( match != null ) {
2727 prNumber = match [ 1 ] ;
2828 }
You can’t perform that action at this time.
0 commit comments