in reply to pattern match

Quote from the perlre man page:

A word boundary ("\b") is a spot between two characters that has a "\w" on one side of it and a "\W" on the other side of it (in either order)

So, the \b will only match in your case if it is followed by a word character (alphanumeric plus "_"), in your case it's probably followed by whitespace, so it doesn't match.
hth,
snowcrash

Replies are listed 'Best First'.
Re: Re: pattern match
by jrasillo (Initiate) on Mar 26, 2002 at 07:38 UTC
    Thanks, I thought the \b was to delimit so that if I wanted to match with From: I would only match against that and not any other (i.e. From: whatever) but thanks anyways jorge