1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

New: Add thin space and narrow no-break space as supported thounsands

separators for formatted numbers
This commit is contained in:
Allan Jardine 2014-02-10 17:06:41 +00:00
parent 2665e8459d
commit b007bbff00
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
22eb613114730631469410198ef1d44ffdb11176
95ba9df76812ad48c8d1dac8c2aec74f24efaf4c

View File

@ -103,10 +103,11 @@
var _re_new_lines = /[\r\n]/g;
var _re_html = /<.*?>/g;
var _re_formatted_numeric = /[',$£€¥%]/g;
var _re_date_start = /^[\d\+\-a-zA-Z]/;
// U+2009 is thin space and U+202F is narrow no-break space, both used in many
// standards as thousands separators
var _re_formatted_numeric = /[',$£€¥%\u2009\u202F]/g;
var _empty = function ( d ) {