Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5067

Search for particular string in patttern

$
0
0

Hello ...

Entry=hiCreateListBoxField(
?name 'Entry
?multipleSelect t
?choices (list "x_y_1 (diodes)" "x_y_10 (clamps)" "x_y_11 (Protections)"  ))

rules_check = buildString(
foreach(mapcar entry form->Entry->value
car(parseString(entry))
)
" "
)
multi_check = parseString(rules_check)
numPat=pcreCompile("\\d")
rules_number=buildString(
foreach(mapcar entry form->Entry->value
pcreExecute(numPat entry)
pcreSubstitute(numPat "&")
)
","
)

when am running above code am getting values of rules_number  = 1,1,1 inspite it should be 1,10,11

where in code its wrong and how can i correct it?

BR,

The


Viewing all articles
Browse latest Browse all 5067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>