Permalink
Browse files

Make "#" optional in "issue #NNN"

I occasionally type this without the issue number.  Let's see how this
works out in practice.
  • Loading branch information...
1 parent e473514 commit 33bba3944df6188a35550da86b1686d93688a53f @emk committed Aug 31, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/buglinky/BugNumberLinker.java
@@ -33,7 +33,7 @@ public BugNumberLinker(String bugUrl) {
@Override
protected String getPattern() {
- return "(?:[Bb]ug|[Ii]ssue|[Tt]icket|[Cc]ase) #(\\d+)";
+ return "(?:[Bb]ug|[Ii]ssue|[Tt]icket|[Cc]ase) #?(\\d+)";
}
@Override

0 comments on commit 33bba39

Please sign in to comment.