Hi,

I am a new user of TableSorter and just ran into a bug with sorting a
digit column. It looks like the digit regular expression might be
wrong? This regular expression doesn't recognize numbers that end
with .00 (e.g. 23.00):

(^([-+]?((0?|[1-9][0-9]*)' + DECIMAL +'(0*[1-9][0-9]*)))$)

I saw a post in the dev archives from August of 2008 (tablesorter 2.0
incorrectly parsing columns as text instead of digits), but it looks
like it is still broken. Is this on the bug list somewhere? I fixed it
locally by changing

0*[1-9][0-9]*

to

[0-9]+

Thanks,
Christian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to