Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132050

[Reg 6.8 -> 6.9] Different behavior in QML regex compared to javascript

XMLWordPrintable

    • Linux/Wayland
    • 24f53274a (dev), 938ce7a77 (6.9), 7b3f6fb39 (6.8), dd666b855 (tqtc/lts-6.5)

      console.log("4F159D7AD40255D94A5B7EB9AAACD7408C79245D".replace(/(....)/g, '$1 ')) give a different output depending on whether it is executed in QML or in Firefox.

      In Firefox:

      "4F15 9D7A D402 55D9 4A5B 7EB9 AAAC D740 8C79 245D "

      In QML:

      "4F15 9D7AD 40255 D94A5 B7EB9 AAACD 7408C 79245 D"

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ulherman Ulf Hermann
            carl Carl Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes