Uploaded image for project: 'named-regexp'
  1. named-regexp
  2. REGEX-7

NamedMatcher.namedGroups() causes IndexOutOfBoundsException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.2
    • Labels:
      None

      Description

      Upon calling NamedMatcher.namedGroups(), an IndexOutOfBoundsException occurs.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            tony19 Anthony Trinh [Administrator] added a comment - - edited

            namedGroups() tried to iterate over the current list of group names but used an invalid group index calculation to get the max index. The loop iterator eventually hit an index beyond the actual list size.

            It's fixed in commit 972bb6a5d7b84bfa06271ed168296003d6d9c6b8.

            Show
            tony19 Anthony Trinh [Administrator] added a comment - - edited namedGroups() tried to iterate over the current list of group names but used an invalid group index calculation to get the max index. The loop iterator eventually hit an index beyond the actual list size. It's fixed in commit 972bb6a5d7b84bfa06271ed168296003d6d9c6b8 .

              People

              • Assignee:
                tony19 Anthony Trinh [Administrator]
                Reporter:
                tony19 Anthony Trinh [Administrator]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h

                    Development

                      Who's Looking?