http://www.perlmonks.org?node_id=442430


in reply to Re: Alpha number sort
in thread Alpha number sort

Thank you for pointing out the problem in the data section.

As for the inconsistency, there is not one because I am saying that \d+\.\d+ is a floating point number but that \d+\.\d+\. is not.

I agree that this will cause some version numbering schemes not to work, or for floating point numbers not to work if followed by a decimal number. But then if it was easy I would not need to post to perlmonks would I.

-- gam3
A picture is worth a thousand words, but takes 200K.