Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: regex: extract multiple number of date patterns from certain lines

by Random_Walk (Prior)
on Mar 04, 2009 at 16:12 UTC ( #748219=note: print w/replies, xml ) Need Help??


in reply to Re: regex: extract multiple number of date patterns from certain lines
in thread regex: extract multiple number of date patterns from certain lines

all the date values from the line, preferably each as a separate element of the array and in the same order they occurred on the line

2009-02-02 06:12:57,500 dates processed: 2009-01-31, 2009-01-29, 2009- +01-30 @res = (2009-02-02, 2009-01-31, 2009-01-29, 2009-01-30) 2009-02-18 06:03:47,713 dates processed: 2009-02-16, 2009-02-17 @res = (2009-02-18, 2009-02-16, 2009-02-17) 2009-02-19 05:58:29,138 dates processed: 2009-02-18 @res = (2009-02-19, 2009-02-18)

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!
  • Comment on Re^2: regex: extract multiple number of date patterns from certain lines
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://748219]
help
Chatterbox?
[Marshall]: stevieb wish you well with water problems, my water was off all day Monday for repairs. Any more progress on .exe info problem?.
[stevieb]: Marshall: no. I commented on the thread yesterday. Visual Studio updates the tags ok, but corrupts the exe
[stevieb]: I advised the OP that a possible workaround would be to add a version function/flag that displays the required copyright/license info instead
[Marshall]: Darn! I'll look at the thread. Must not be updatinga byte count somewhere. The .exe format is a complex critter.
[stevieb]: that way, it's still "hard coded" into the exe at least, despite not being visible via Properties
[Marshall]: I also looked into PerlApp from Active State, but they don't sell their Dev Kit independent of a very expensive ($1,200) per year license anymore.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2016-12-08 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.