Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^4: Parse ISO 8601 date/times (never \d)

by tobyink (Abbot)
on Nov 07, 2012 at 17:46 UTC ( #1002698=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.010;
    use strict;
    ...
    say $str =~ m/bar(\d+)/i ? "GOT $1" : "NO MATCH";
    use re::engine::SaneDigits;
    say $str =~ m/bar(\d+)/i ? "GOT $1" : "NO MATCH";
    
  2. or download this
    use 5.010;
    use strict;
    ...
    say $str =~ m/bar(\d+)/i ? "GOT $1" : "NO MATCH";
    use re::SaneDigits;
    say $str =~ m/bar(\d+)/i ? "GOT $1" : "NO MATCH";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-12-29 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls