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

Invalid group value when pattern contained escaped parentheses

    Details

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

      Description

      When a pattern contained multiple capture groups and included an escaped parentheses, the matcher would not return the correct group values.

      For the pattern:

      \(escaped)(?<foo>\d+)(?<bar>\w+)
      

      the matcher fetched the wrong values for the groups "foo" and "bar".

        Gliffy Diagrams

          Issue Links

            Activity

            Show
            tony19 Anthony Trinh [Administrator] added a comment - Fixed in commit 9ea5090847cf6e1de71e9b1e8cf2b4cb7e97de74

              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?