Parsing repetition count in regex does not detect numeric overflow

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 13
    • Affects Version/s: None
    • Component/s: core-libs
    • None

        java java.util.regex.PrintPattern '.{4294967297}'
           Pattern: .{4294967297}
             0: <Start>
             1: <Curly GREEDY {1, 1}>
             2: <Single "Dot">
                 </Curly>
             3: <END>

              Assignee:
              Ivan Gerasimov
              Reporter:
              Ivan Gerasimov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: