Routing Format Issue

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Routing Format Issue

  • Creator
    Topic
  • #50868
    mike brown
    Participant

      Hi All

      I am having a little problem with a route setup :

      We are on Cloverleaf 5.4.1 and in my route, I had setup the followng, before I changed it.

      Why would 1 and 2 not work properly when 3 and 4 work properly, are they not saying the same thing?

      1) ADT_A(0[48]|2[8])

    Viewing 2 reply threads
    • Author
      Replies
      • #67842
        David Barr
        Participant

          I don’t see why the first two patterns wouldn’t work, but they don’t make any sense.  “[8]” means exactly the same thing as “8”.  The brackets are for when you have a set of more than one character that you want to match against.

        • #67843
          mike brown
          Participant

            David

            Exactly my thought :

            “I don’t see why the first two patterns wouldn’t work, but they don’t make any sense.

          • #67844
            Charlie Bursell
            Participant

              It is ort of like a math instruction.  If had an expression like

                       5 * 10 + 5

              Do you mean 5 * 15 or 50 + 5?

              Try this

              ADT_A(0[48])|(2[8])

              Of course why not simply

              ADT_A(0[48])|(28)

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.