in reply to
Re: pattern matching whitespace
in thread
pattern matching whitespace
using
/( | )/
seems to do the trick. I don't know why I was hung up on using
/..?/
or
/.+/
Thanks
Ted
Comment on
Re^2: pattern matching whitespace
Select
or
Download
Code
Replies are listed 'Best First'.
Re^3: pattern matching whitespace
by
ikegami
(Patriarch)
on Apr 13, 2005 at 19:37 UTC
The problem was that you used /..+/, which means "two or more", not "one or more" or "one or two".
[reply]
In Section
Seekers of Perl Wisdom