"Fossies" - the Fresh Open Source Software Archive

Member "ferm-2.6/test/preserve/regex.ferm" (30 Jan 2021, 377 Bytes) of package /linux/privat/ferm-2.6.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # More complex regexes.
    2 domain ip {
    3     table filter {
    4 
    5         chain INPUT { ACCEPT; }
    6 
    7         # FERM-TEST-STATIC is expected to be removed.
    8         # chain FERM-TEST-STATIC @preserve;
    9 
   10         # "Advanced" RE
   11         chain "/^FERM-TEST-DYNAMIC-[13]000$/" @preserve;
   12 
   13         # Will not match FERM-TEST-DYNAMIC-2000
   14         chain "/^FERM-TEST-DYNAMIC-2$/" @preserve;
   15     }
   16 }