Skip to content
Snippets Groups Projects
Commit 31fb991d authored by deuce's avatar deuce
Browse files

Support a space after the : in PR matching... ie:

"PR: 38"
parent aa7d1aa8
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,12 @@ logmsg+='--- End CVS Commit Message ---\n\n';
auditprs=new Object;
stateprs=new Object;
myRe=/PR:([0-9]+)/g;
myRe=/PR:\s?([0-9]+)/g;
while((pr=myRe.exec(logmsg))!=undefined) {
auditprs[pr[1]]=pr[1];
}
myRe=/PR:([0-9]+)-\>([a-z]*)/g;
myRe=/PR:\s?([0-9]+)-\>([a-z]*)/g;
while((pr=myRe.exec(logmsg))!=undefined) {
stateprs[pr[1]]=pr[2];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment