Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.5, 6.8.0
-
9d9413f3d (dev), 9156754ab (6.8), bcacae916 (tqtc/lts-6.5)
Description
The following line "12345.897".replace(/\./g, ",").replace(/\B(?=(\d{3})+(?!\d))/g, ".") returns 12..345,897 in QML and QJSEngine. However, browser javascript environments return 12.345,897.
Attachments
Issue Links
- is duplicated by
-
QTBUG-131242 Non-word-boundaries in a regex are sometimes doubled
-
- Closed
-
- resulted in
-
QTBUG-132050 [Reg 6.8 -> 6.9] Different behavior in QML regex compared to javascript
-
- Closed
-