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
-
For Gerrit Dashboard: QTBUG-130974 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
603658,2 | QtQml: Fix regular expressions with multiple matches | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
604299,2 | QtQml: Fix regular expressions with multiple matches | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
604920,2 | QtQml: Fix regular expressions with multiple matches | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |