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

Android: NamedPattern.compile() gets stuck in infinite loop

    Details

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

      Android 4.2 (SDK 17) Simulator (other Android versions likely affected)

      Description

      In Android, the NamedPattern.compile() function gets caught in an infinite loop in buildStandardPattern(), trying to find named capture groups in the given pattern.

      This does not occur outside of Android Java (in desktop platforms of J2SE).

        Attachments

          Activity

            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

                  Who's Looking?