Scott K Purcell [mailto:[EMAIL PROTECTED]] wrote:
> @allfiles = grep !/[fish|apple]/, @allfiles; # does not work.
> Does not give
> an error, but leaves nothing in @allfiles.
>
> Is anyone out there familiar with grep enough to help me? Thanks
You mean someone familiar with regular expressions.
[] denotes a character class (a single-character match)
so [fish|apple] is the same as [aefhips|]. What you probably
want is (fish|apple) instead.
--
Mark Thomas
[EMAIL PROTECTED]
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]