Re: Simple example needed

2001-12-20 Thread Brian Elliott
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:

Re: Simple example needed

2001-12-16 Thread Brian Elliott
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

Simple example needed

2001-12-15 Thread Brian Elliott
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