Logged In: YES
user_id=367459

Sorry, I don't get the point of your message.

After the successful match in perl, the $1..$9 variables contain
the substring
corresponding to the parenthesised subexpressions (groups) of
the regex.
And the $& variable contains the (sub)string corresponding to the
whole regex.

And quite similarly, after the successful match in jregex, the
Matcher.group(N) N=1..9 returns the N-th group (the same string
that would be in the $1..$9 variable in perl). And the m.group(0)
returns (quite naturally IMHO) the same string as would be in the
$& in perl.
So what's so strange with it?

Anyway, couldn't you give me a sample of java code that you feel
so unpleasant of, and a variant that you would like more.