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
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
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+)/.*
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