gt; On Saturday 15 December 2001 02:08 pm, Yuriy Zubarev wrote:
> > Brian,
> >
> > You need to escape back slash in Java: type \\w intstead of "\w"
> >
> > Best of luck,
> > Yuriy Zubarev
> >
> > ----- Original Message -
> > From:
I should have figured this out. Thanks for both of your inputs. I will
give them a try.
Brian
Ed Chidester wrote:
>
> Brian,
>
> Yuriy's suggestion will get your code to compile... But, your regular
> expression won't match the text you're looking for.
>
> You need to get rid of the square br
\w"
>
> Best of luck,
> Yuriy Zubarev
>
> - Original Message -
> From: "Brian Elliott" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 15, 2001 6:37 AM
> Subject: Simple example needed
>
> > I am very familiar with
Brian,
You need to escape back slash in Java: type \\w intstead of "\w"
Best of luck,
Yuriy Zubarev
- Original Message -
From: "Brian Elliott" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 6:37 AM
Subject: Simple examp
I am very familiar with Perl regular expression and have used
org.apache.regexp.RE package for a little while but only for simple
matching. How do I match a word in a regular expression? According to
the RE javadocs:
\w Matches a "word" character (alphanumeric plus "_")
So coul