Regexp works only if one group exists.

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: