named-regexp
  1. named-regexp
  2. REGEX-16

Invalid group value when pattern contained escaped parentheses

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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".

        Issue Links

          Activity

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

            People

            • Assignee:
              Anthony Trinh [Administrator]
              Reporter:
              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