|
Rockbox mail archiveSubject: Re: how is strnatcmp aka "Interpret numbers while sorting" supposed to sort?Re: how is strnatcmp aka "Interpret numbers while sorting" supposed to sort?
From: Thomas Martitz <thomas.martitz_at_fhtw-berlin.de>
Date: Wed, 18 Mar 2009 23:53:30 +0100 Al Le schrieb: > On 18.03.2009 23:43, Thomas Martitz wrote: >>>> And, we can only special case very leading zeros. >>> >>> They wouldn't have to be treated specially, since the rule is >>> general enough to handle them. >>> >> Only if you want to break decimal numbers or discnumber.tracknumber >> (or any other numbers which have a constant prefix in the strings to >> be compared). > > > I can't understand what you mean. What break? Your general rule was in SVN a few days ago. Look at FS#10029 what it caused. Received on 2009-03-18 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |