Added extra greek forms 'ϊΐϋΰ'

Also fixed formatting for some of the other characters to comply with the rest of the code.
pull/144/head
Leonidas Arvanitis 10 years ago
parent fbf814d90b
commit eb1bf1c64b

@ -40,11 +40,11 @@ jQuery.fn.DataTable.ext.type.search.string = function ( data ) {
typeof data === 'string' ? typeof data === 'string' ?
data data
.replace( /έ/g, 'ε' ) .replace( /έ/g, 'ε' )
.replace( /ύ/g, 'υ') .replace( /[ύϋΰ]/g, 'υ' )
.replace( /ό/g, 'ο' ) .replace( /ό/g, 'ο' )
.replace( /ώ/g, 'ω' ) .replace( /ώ/g, 'ω' )
.replace( /ά/g, 'α' ) .replace( /ά/g, 'α' )
.replace( /ί/g, 'ι') .replace( /[ίϊΐ]/g, 'ι' )
.replace( /ή/g, 'η' ) .replace( /ή/g, 'η' )
.replace( /\n/g, ' ' ) .replace( /\n/g, ' ' )
.replace( /á/g, 'a' ) .replace( /á/g, 'a' )

Loading…
Cancel
Save