S
S.Marion
Hello,
I'm new to perl and have the following problem.
I have patterns such as:
[Ljava/lang/StackTraceElement
that I want to turn into:
Ljava/lang/StackTraceElement[]
To do this I've got the following regexp:
$methodRet =~ s/(\[*)([^\[]*)/$2$1/;
But this doesn't work since it looks like looping endlessly...
Could anyone point out the mistake?
Cheers,
Marion Sebastien
I'm new to perl and have the following problem.
I have patterns such as:
[Ljava/lang/StackTraceElement
that I want to turn into:
Ljava/lang/StackTraceElement[]
To do this I've got the following regexp:
$methodRet =~ s/(\[*)([^\[]*)/$2$1/;
But this doesn't work since it looks like looping endlessly...
Could anyone point out the mistake?
Cheers,
Marion Sebastien