Re: Simple example needed

2001-12-20 Thread Brian Elliott
Thanks for both suggestions - I got things to work. 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 braces otherwise you'll only match a f

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

Re: Simple example needed

2001-12-15 Thread Ed Chidester
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 braces otherwise you'll only match a first directory with a name of "\" or "w" I suggest you try RE exp = new RE ("^/(\\w+)/.*

Re: Simple example needed

2001-12-15 Thread Yuriy Zubarev
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 example needed > I am very familiar with