Regexp regression for escaped dash in character class

XMLWordPrintable

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

      A regexp regression was introduced in changeset 125:037e1de7ab1a where an escaped dash in a character class is not escaped in the pattern produced by RegExpScanner removes the backslash.

      Example:

      /[a\-b]/

      is converted to:

      /[a-b]/

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: