Hi everyone
I am trying to learn Perl looking into some scripts.
One of them has a regular expression inside.
First of all, I need to know what two specific lines are doing. The code is
bellow.
$req =~ s/\r//g ;
$req =~ s/([^\n]{72,72})\n([^\n]{1,71})\n([^\n]{1,71})$/$1\n$2$3/
I know they are replacing some things but cannot understand what. Specially
the second one.
I would really appreciate if somebody could explain to me what that regular
expression means. It is kind of an emergency.
And, if someone knows a link where there is more information about regular
expressions, I would be grateful.
Thanks in advance.
Lilian