...
ES wildchar query is used
ElAlto: Case sensitive Frankfurt: case insensitive
- Wildchards are:
'*' A sequence of chars
'?' One char' Exact one char
Examples for filter rules for Frankfurt
input | desc | regex | matching | not matching |
---|---|---|---|---|
Ad | equals 'Ad' | /^[Aa][Dd]d.*/g | Ad, ad, aD, AD | admin, monica |
Ad* | startswith 'Ad' | /^[Aa][Dd].*/g | Admin, Add, admin, monica | |
*Ad | endswith 'Ad' | /.*[Aa][Dd]$/g | mkisdAd, mkdisad | youtube |
*Ad* | contains 'Ad' | /.*[Aa][Dd].*/g | mmAdkias,mmAd, admin | monica |
*Ad*s* | contains 'Ad' something 's' something | /.*[Aa][Dd].*[sS].*/g | Admins, Ads, admins | Admin |
?Ad?s* | Single any char'Ad' single any char 's' something | /.[Aa][Dd].[sS].*/g | fAdhs, gAdis | admins, Admin |
Examples for filter rules El AltoExamples for filter rules
input | desc | regex | matching | not matching |
---|---|---|---|---|
Ad | equals 'Ad' | /^Ad.*/g | Ad | admin, monica |
Ad* | startswith 'Ad' | /^Ad.*/g | Admin, Add | admin, monica |
*Ad | endswith 'Ad' | /.*Ad$/g | mkisdAd | mkdisad, youtube |
*Ad* | contains 'Ad' | /.*Ad.*/g | mmAdkias,mmAd | admin, monica |
*Ad*s* | contains 'Ad' something 's' something | /.*Ad.*s.*/g | Admins, Ads | Admin, admins |
?Ad?s* | Single any char'Ad' single any char 's' something | /.Ad.s.*/g | fAdhs, gAdis | Admin, admins |
The rules are described in column “regex” to be tested with Flavor “ECMAScript” regex at this site: https://regex101.com/
...