Forum Discussion

adirz's avatar
adirz
Icon for Nimbostratus rankNimbostratus
Nov 27, 2019
Solved

Class match with starts_with - Data group matching order

Hello DevCentral, I need your help today with very basic question which for some reason doesn't really makes senese for me. I trying searched for such previously asked questions in the boards but c...
  • gersbah's avatar
    Nov 28, 2019

    It's "longest match". See https://clouddocs.f5.com/api/irules/class.html

    ---

    Note: When using the equals operator on IP classes, or when using the starts_with or ends_with operators, if multiple possible matches are found in the class, then the longest match is always chosen. This is not true when using the contains operator. See the example below for more details.

    ---