On Jul 17, 2006, at 11:33 AM, Maxim wrote:
But I am totally frustrated in regexp part in the script:
/^DR\d+.*?(\d+).*?(\d+)(.+)/
Could you please explain it? Or maybe you have a link to intelligible
guide for perl regexp?
perldoc perlre is a pretty detailed description of perl's regexp.
I'm pretty new myself, as such I like to see a little more error checking to
accomodate for mine (or other people's) mistakes, here's one similar to
Rob's but with some additional error checking that you might want, basically
the main difference is that it expects your lines to be formatted like
Rod Burgess wrote:
>
> I am new to the Perl world and am trying to learn it. A coworker tells me
> that Perl will not work for what I am trying to do however, I think Perl
> would be a great tool to use and I feel this coworker is wrong.
> I have a file that contains several lines all as below:
Hello Rod,
I am not the author of the initial message, but thanks a lot for your
reply.
I am trying to adopt your script to my need, and, basically, it works
for me.
But I am totally frustrated in regexp part in the script:
/^DR\d+.*?(\d+).*?(\d+)(.+)/
Could you please explain it? Or maybe you h
""Rod Burgess"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I am new to the Perl world and am trying to learn it. A coworker tells me
> that Perl will not work for what I am trying to do however, I think Perl
> would be a great tool to use and I feel this coworker is wrong.
> I
"Rod Burgess" schreef:
Your Subject has no quality. Please come up with something like "convert
data lines".
> I am new to the Perl world and am trying to learn it. A coworker
> tells me that Perl will not work for what I am trying to do however,
> I think Perl would be a great tool to use and