Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > Cadence > Re: SKILL Regul...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 10 Topic 4205 of 4375
Post > Topic >>

Re: SKILL Regular Expression Numbered Register

by "S. Badel" <stephane.badel@[EMAIL PROTECTED] > Sep 4, 2008 at 01:54 PM

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
 




 10 Posts in Topic:
SKILL Regular Expression Numbered Register
Jake <Jakewegman@[EMAI  2008-09-02 10:12:29 
Re: SKILL Regular Expression Numbered Register
Riad KACED <riad.kaced  2008-09-02 17:02:26 
Re: SKILL Regular Expression Numbered Register
Jake <wegman.jake@[EMA  2008-09-03 17:32:00 
Re: SKILL Regular Expression Numbered Register
"S. Badel" <  2008-09-04 13:54:39 
Re: SKILL Regular Expression Numbered Register
Riad KACED <riad.kaced  2008-09-04 11:04:01 
Re: SKILL Regular Expression Numbered Register
Andrew Beckett <andrew  2008-09-05 10:06:04 
Re: SKILL Regular Expression Numbered Register
"S. Badel" <  2008-09-05 11:48:12 
Re: SKILL Regular Expression Numbered Register
pxhxz@[EMAIL PROTECTED]   2008-09-05 12:20:09 
Re: SKILL Regular Expression Numbered Register
pxhxz@[EMAIL PROTECTED]   2008-09-05 12:40:22 
Re: SKILL Regular Expression Numbered Register
Andrew Beckett <andrew  2008-09-10 13:04:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 5:03:55 CST 2008.