...
ES wildchar query is used
ElAlto: Case sensitive Frankfurt: case insensitive
- Wildchards are:
'*' A sequence of chars
'?' Exact one char
Examples for filter rules
input | desc | regex | datatype | matching | not matching |
---|---|---|---|---|---|
Ad | equals 'Ad' | /^Ad/g | string | Ad | admin, monica |
Ad* | startswith 'Ad' | /^Ad.*/g | string | Admin, Add | admin, monica |
*Ad | endswith 'Ad' | /.*Ad$/g | string | mkisdAd | mkdisad, youtube |
*Ad* | contains 'Ad' | /.*Ad.*/g | string | mmAdkias, mmAd | admin, monica |
*Ad*s* | contains 'Ad' something 's' something | /.*Ad.*s.*/g | string | Admins, Ads, fAds | Admin, admins |
?Ad?s* | starts with single any char, followed by 'Ad', another single char, 's', something | /^.Ad.s.*/g | string | fAdhs, gAdis, hAdtsabc | Admin, admins |
>=19 | number greater or equal than 19 (since frankfurt) | - | number | 20,3300 | 1, 11 |
<=22 | number smaller or equal than 22 (since frankfurt) | - | number | 1, 21, 22 | 23, 553 |
true | boolean filter (since frankfurt) | - | boolean | true | false |
false | boolean filter (since frankfurt) | - | boolean | false | true |
The rules are described in column “regex” to be tested with Flavor “ECMAScript” regex at this site: https://regex101.com/
...