in reply to
Re: Re: old Perl regex problem
in thread
old Perl regex problem
/^PH.+[^HI]F?\-000/
will accept a file called
PHfooIF-000/
. After all, the
.+
can match the 'fooI', the
[^HF]
can match the 'I', and the
F?
matches nothing.
Abigail
Comment on
Re: old Perl regex problem
Select
or
Download
Code
In Section
Seekers of Perl Wisdom