Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Suggestion for regular expression speed improvement.

by pKai (Priest)
on Jun 15, 2009 at 12:55 UTC ( #771643=note: print w/replies, xml ) Need Help??


in reply to Re^2: Suggestion for regular expression speed improvement.
in thread Suggestion for regular expression speed improvement.

…so that I can parse any format of logs.

Can you elaborate how you hope to handle "any format" with regular expressions?

  • Comment on Re^3: Suggestion for regular expression speed improvement.

Replies are listed 'Best First'.
Re^4: Suggestion for regular expression speed improvement.
by bala.linux (Novice) on Jun 15, 2009 at 15:30 UTC
    By "any format", I meant single line having different formats which can be matched by the users and using groups he can indicate us whats required for him. Further, we will process only the grouped strings. And, not for the logs having multi-lines to convey a mail delivery like qmail logs :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771643]
help
Chatterbox?
[shmem]: same with undef as last element
[msh210]: oh, good point. It's the best kind of correct
[shmem]: msh210: but I'd not call it a lie outright. That's when you do know the truth.
[msh210]: I don't have sendmail (I'm on MS Windows), so does one of you think you can report the bug?
[shmem]: msh210: 'tis about time to tell the sad truth to perl5porters - via perlbug
[msh210]: probably whoever wrote that actually knows the truth
[shmem]: msh210: you can save the perlbug text in a file and send that via your mail agent of choice
[msh210]: hm, okay, I'll try, thanks
[shmem]: ...not as an attachment, it's probably better to c&p that into the mail body

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2017-04-24 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (439 votes). Check out past polls.