Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. Using Regular Expression as a pattern conition

Using Regular Expression as a pattern conition

Scheduled Pinned Locked Moved General Discussion
5 Posts 4 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mohamedomar807
    wrote on last edited by
    #1

    Hello everyone,
    I am trying to use regular expressions (Regexes) to check the convention naming. However, it is not working properly.
    Is Solbiri support checking the text using the regexes?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mohamedomar807
      wrote on last edited by
      #2

      image.png
      image.png

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pasi Paasiala Solibrians
        wrote on last edited by
        #3

        @mohamedomar807
        Looks like you’re using regular expressions that are more complicated than what Solibri UI allows to use. Only * and ? are allowed. The * matches at least zero characters and ? matches one character.

        The rule SOL/21 has a bit better support for entering regular expressions.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          beatriz.massutti
          wrote on last edited by
          #4

          This is frustrating… If it says Condition -> Patterns, it should allow patterns…

          1 Reply Last reply
          0
          • Paul LinderP Offline
            Paul LinderP Offline
            Paul Linder Solibrians
            wrote on last edited by Paul Linder
            #5

            @beatriz-massutti what you have discovered in rule 230 under value conditions are patterns (?,*), but not the official regex pattern. We have implemented this logic in the IDS editor and it is also on the roadmap for the Solibri Office portfolio

            1 Reply Last reply
            1

            Copyright © 2025 Solibri Inc. | Powered by NodeBB

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories