Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Removing leading zeros

by Anonymous Monk
on Apr 22, 2019 at 15:07 UTC ( [id://1232867]=note: print w/replies, xml ) Need Help??


in reply to Re: Removing leading zeros
in thread Removing leading zeros

That RE fails multiple edge cases. It will change "0", or "00", etc. into "" making it non-numeric. And not handling the negative case has already been mentioned.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232867]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-19 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found