[Za-pm] Regular expression help needed
Pritesh Jewan
Pritesh at aptronics.co.za
Mon Jun 23 07:26:12 CDT 2003
Hello people,
I have a few regular expressions from a script that I am trying to update
and needed some assistance with what the expression mean:
===============================
while(<GWTABLE>){
next if (/^#/);
next if (/^$/);
$match = 1;
I'm trying to understand the second and third line.
===============================
The script has this line in a few places. Can't seem to find any doco that
would explain what it means:
s(\n)();
===============================
s/\n$//;
===============================
(!/^$/)||next;
(!/^#/)||next;
Any assistance is greatly appreciated
Regards
Pritesh
Pritesh Jewan
Aptronics (Pty) Ltd
Tel : +27 11 791 0180
Fax : +27 11 791 0183
Cell : 084-677-2486
<mailto:pritesh at aptronics.co.za> pritesh at aptronics.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/za-pm/attachments/20030623/e5bd6cd4/attachment.htm
More information about the Za-pm
mailing list