Jake wrote:
> Hi Riad,
>
> Thanks for your response. I have a feeling that everything you say
> there is correct, maybe one of the Cadence spies can prove me wrong.
> Because of this assumed issue, I wrote a PERL script to do my regular
> expression processing and handshake the data back and forth in temp
> files (let's all thank Cadence for the sh() function).
>
> Regards,
> Jake
You can get back the content of the registers using rexSubstitute :
rexCompile("X\\(.*\\)Y\\(.*\\)Z")
=> t
rexExecute("012 X 345 Y 678 Z 9")
=> t
rexSubstitute("\\1")
=> " 345 "
rexSubstitute("\\2")
=> " 678 "
rexSubstitute("\\1\\2")
=> " 345 678 "
It is true in my opinion that regular expression sup****t is poor in SKILL
compared to perl, but it's
not useless either... :)
If we know exactly what you're after, maybe you can get the solution...
Cheers,
Stéphane


|