Commit 69c5db8
Make the number pattern regular expression more efficient (#1213)
I verified that all patterns parsed for importing CLDR data are parsed equivalently using the new regular expression.
The inefficient regular expression was brought to our attention by GitHub user s-sanskar – thanks!
Co-authored-by: s-sanskar <sanskarpok11@gmail.com>1 parent 0ca3e6d commit 69c5db8
1 file changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1212 | 1209 | | |
1213 | 1210 | | |
1214 | 1211 | | |
| |||
1239 | 1236 | | |
1240 | 1237 | | |
1241 | 1238 | | |
1242 | | - | |
| 1239 | + | |
1243 | 1240 | | |
1244 | 1241 | | |
1245 | 1242 | | |
| |||
0 commit comments