Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how to make down/up-case part of port using auto template? #683

Closed
veripoolbot opened this issue Oct 15, 2013 · 1 comment
Closed
Labels

Comments

@veripoolbot
Copy link
Collaborator


Author Name: wilson wilium
Original Redmine Message: 1270 from https://www.veripool.org


I wonder....

module apbset have arguments ,,,,(set_ApbData , set_ApbAddr, set_ApbWrite.....)

I Number1

/apbset AUTO_TEMPLATE (
.set_/([A-Za-z]+/) p1_p2_(@"(downcase vl-name)"),
);
/

apbset apbset1(/AUTOINST/);

I results1.

.set_ApbData (p1_p2_set_apbdata),
.set_ApbAddr (p1_p2_set_apbaddr), ......

I want to get .....

.set_ApbData (p1_p2_apbdata),
.set_ApbAddr (p1_p2_apbaddr), .......

how to get ??

   .\(word\)_\(word2\)         (\1\2), <<  can I change  U/D-case word? 
@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2013-10-17T13:44:10Z


Something along the lines of
.(word)_(word2) (\1@"(downcase \"\2\")"[]),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant