Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8023650

Regexp m flag does not recognize CRNL or CR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None
    • b106
    • generic
    • generic

    Description

      Following regexp.test should return true:
      var resp = 'Connection: close\r\n\r\n';
      var ret = /^Connection: close\r\n$/m.test(resp);

      Attachments

        Activity

          People

            hannesw Hannes Wallnoefer
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: