[Chicago-talk] Regular expression

Randal L. Schwartz merlyn at stonehenge.com
Wed Feb 6 10:50:50 PST 2008

>>>>> "Young," == Young, Darren <Darren.Young at ChicagoGSB.edu> writes:

Young,> Need some help on a regular expression... I've always been horrible at
Young,> regex's with spaces. Have the output from a Windows cluster command that
Young,> looks like this:

Young,> Group                Node            Status
Young,> -------------------- --------------- ------
Young,> Cluster Group        GSBDHCL2        Online

For fixed-width columns, a better solution is unpack() rather
than a regex.

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

More information about the Chicago-talk mailing list