RE: regular expressions and a text file


Subject: RE: regular expressions and a text file
From: Leif Sawyer (lsawyer@gci.com)
Date: Fri Aug 23 2002 - 12:44:58 AKDT


Mike wrote:
> We tried using
>
> split(/\s/,$line);
>
> But this didn't do what we expected...we were hoping the \s
> would swallow all of the whitespace characters.

split (/\s+/,$line);

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Fri Aug 23 2002 - 12:45:04 AKDT