• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Pattern Matching of Regular Expressions

Stats

  • Replies 2
  • Subscribers 159
  • Views 13317
  • Members are here 0
More Content

Pattern Matching of Regular Expressions

aeris
aeris over 14 years ago

Hi,

how do we implement a search for specfic range of Nets using regEx in skill?

Given set of nets from M_A_DQ1 to M_A_DQ63

this one is working: "^M_A_DQ[7-9]$" and will output me M_A_DQ7 to M_A_DQ9

but I'm totally lost when i want to filter a range from 7 to 16

 thanks

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 14 years ago

    A simple way to do this would be:

    append( rexMatchList("^M_A_DQ[7-9]$" netNames), rexMatchList("^M_A_DQ1[0-6]$" netNames))

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • aeris
    aeris over 14 years ago

    thank you, it worked

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information