|Don't ask to ask, just ask|
About regular expressionsby nagalenoj (Friar)
|on Mar 31, 2009 at 04:46 UTC||Need Help??|
nagalenoj has asked for the
wisdom of the Perl Monks concerning the following question:
I have tried a simple regular expression like,
to match the following text lines,
And at the same time, it chould not match the following lines
The given regular expression is working fine.
But, my question is, is there any other better regex which will work instead of the given one?
And if any other better way, kindly tell me how this is worse than that.
Will a poor regex make a big difference in performance of a program?
How can we validate a efficiency of a regular expressions?
Ofcourse, I have searched in google to some extent.