/edi$/i I think?
On 05/17, John Joseph Trammell rearranged the electrons to read:
> On Thu, May 17, 2001 at 09:25:53PM -0000, Stout, Joel R wrote:
> > if (/edi\b/i) { # thinking I would match file names 1, 2, and 4. Instead I
> > matched on all. Wasn't \b supposed to help me out here? Or does Perl
> > consider "." in this case a word boundary? Any help much appreciated.
>
> \b matches any transition from \w to \W or vice versa. \w is any
> alphanumeric character plus "_", usually something like [A-Za-z0-9_],
> and \W is its complement. How about using pattern "/edi$/" ?
--
Hob Goblin
[EMAIL PROTECTED]
"I'd rather listen to Newton than to Mundie. He may have been dead for almost three
hundred years, but despite that he stinks up the room less."
-- Linus Torvalds, on Microsoft Sr VP Craig Mundie's speech about open source