Changes between Version 118 and Version 119 of BadContent


Ignore:
Timestamp:
Oct 20, 2023, 6:11:02 PM (3 years ago)
Author:
Michael Koch
Comment:

Use a table for the syntax explanations

Legend:

Unmodified
Added
Removed
Modified
  • BadContent

    v118 v119  
    4949}}}
    5050
    51 (?i) means switch to case insensitive
    52 
    53 . means any character
    54 
    55 ? means zero or one of the preceeding character
    56 
    57 .? means zero or one of any character
    58 
    59 .* means zero or more of any character
    60 
    61 .+ means one or more of any character
    62 
    63 {0,1} means zero or one of the preceeding character, it's the same as ?
    64 
    65 {0,} means zero or more of the preceeding character, it's the same as *
    66 
    67 {1,} means one or more of the preceeding character, it's the same as +
    68 
    69 \s matches all whitespace characters (which includes [ \t\n\r\f\v])
    70 
    71 !^ means start of string (line)
    72 
    73 $ means end of string (line)
    74 
    75 (?i)!^.*regards.*http.*$   matches if "regards" is followed by "http" in the same line, with any number of any characters before, between and after the patterns
     51|| Pattern || Explanation ||
     52|| (?i)    || switch to case insensitive ||
     53|| .       || matches any character ||
     54|| ?       || zero or one of the preceeding character ||
     55|| .?      || matches zero or one of any character ||
     56|| .*      || matches zero or more of any character ||
     57|| .+      || matches one or more of any character ||
     58|| {0,1}   || zero or one of the preceeding character, it's the same as ? ||
     59|| {0,}    || zero or more of the preceeding character, it's the same as * ||
     60|| {1,}    || one or more of the preceeding character, it's the same as + ||
     61|| \s      || matches all whitespace characters (which includes [ \t\n\r\f\v]) ||
     62|| !^      || matches start of string (line) ||
     63|| $       || matches end of string (line) ||
     64|| (?i)!^.*regards.*http.*$ || matches if "regards" is followed by "http" in the same line, with any number of any characters before, between and after the patterns ||
    7665
    7766Search patterns can be duplicated for higher weight, if false positives are very unlikely.