• Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • mantis-plugin
    • None

      The issue at hand is that Updater.java line 134:
      id = Integer.parseInt(matcher.group(1));
      always goes for the first group.
      When using a pattern like: ((issues?):?(\s*(,|and)?\s*(\d+))+) parsing fails.

      It would be welcome to be able to define the expression of the group the user wishes the matcher to match or define the group number.

          [JENKINS-23922] Regexp works only if one group exists.

          Alex Ouzounis created issue -
          Alex Ouzounis made changes -
          Assignee Original: sogabe [ sogabe ] New: Alex Ouzounis [ alex_ouzounis ]
          Alex Ouzounis made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 156788 ] New: JNJira + In-Review [ 195505 ]

            alex_ouzounis Alex Ouzounis
            alex_ouzounis Alex Ouzounis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: