Guest
Public paste!

michael

By: a guest | Jul 29th, 2009 | Syntax: None | Size: 0.70 KB | Hits: 41 | Expires: Never
Copy text to clipboard
  1. Index: src/main/java/hudson/plugins/jira/Updater.java
  2. ===================================================================
  3. --- src/main/java/hudson/plugins/jira/Updater.java      (revision 20292)
  4. +++ src/main/java/hudson/plugins/jira/Updater.java      (working copy)
  5.  -152,7 +152,7 @@
  6.       * At least two upper alphabetic.
  7.       * Numbers are also allowed as project keys (see issue #729)
  8.       */
  9. -    public static final Pattern ISSUE_PATTERN = Pattern.compile("\\b[A-Z]([A-Z0-9_]+)-[1-9][0-9]*\\b");
  10. +    public static final Pattern ISSUE_PATTERN = Pattern.compile("\\b[A-Z]([A-Z0-9_]+)-[1-9][0-9]*\\b", Pattern.CASE_INSENSITIVE);
  11.  
  12.      private static final Logger LOGGER = Logger.getLogger(Updater.class.getName());