On 8/8/07, bill lam <[EMAIL PROTECTED]> wrote:
> I want to find&replace using regular expression for the pattern
> \((.+?)&\([EMAIL PROTECTED]) flag
>
> ('cat'&[EMAIL PROTECTED]) flag
> 'cat'
> it match this line and back reference is correct
That doesn't work for me:
'\((.+?)&\([EMAIL PROTECTED]) flag' rxmatch '(''cat''&[EMAIL PROTECTED])
flag'
_1 0
_1 0
Your illustrated pattern above requires a left parenthesis immediately
to the left of verb1, and that this is not present in your example.
Are you sure you're not working with a different pattern and/or a
different example?
Thanks,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm