readme filter additions

This commit is contained in:
Matthias Wirth
2022-03-11 07:52:49 +01:00
parent c851583889
commit 793b41ee6b

View File

@@ -171,21 +171,36 @@ sudo bash -c "$(wget -nv -O - https://github.com/wiedehopf/tar1090/raw/master/un
## Using the filters
js regex can be used, some examples:
js regex format, some basics (much more extensive issue available online on javascript regex syntax):
- a single `.` is the wildcard for exactly one character
- multiple patterns can be combined with or: `|`
### Some examples of useful constructs:
#### Filter by type code:
- Filter by type code:
```
B737 family: B73. (B73 and any character in the fourth position)
A320 family: A32.
B737-900 and B737 Max 9: B739|B39M
737 family including max: B73.|B3.M
B737 / A320 families: B73.|B3.M|A32.|A2.N
Only A320 and B737 models: A32|B73
Exclude: ^(?!A320)
Exclude multiple: ^(?!(A32|B73))
Exclude a certain type: ^(?!A320)
Exclude multiple patterns: ^(?!(A32.|B73.))
```
- Filter by type description:
#### Filter by type description:
```
Only helicopters: H
Only planes (land): L
Jets or turboprops: J|T
Only piston engined: P
Number of engines: 2
Helicopters: H..
Landplanes with 2 jet engines: L2J
Landplanes with any number of piston engines: L.P
Helicopters any number of turbin engines : H.T
All turboprop powered things, including turbine helicopters: ..T
Everything with 4 engines: .4.
Everything with 2 3 and 4 engines: .2.|.3.|.4.
```
## Keyboard Shortcuts