Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Regex and leading zeros in numbers

by QM (Parson)
on Mar 24, 2004 at 18:42 UTC ( [id://339504]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $var1 = '020055';
    $var2 = '20055';
    ...
    {
        print "No match: \$var1<$var1> \$var2<$var2>\n";
    }
    
  2. or download this
    Found match: <0><20055>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-18 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found