Update pattern matching example

This commit is contained in:
Martin Lund 2024-05-02 20:41:46 +02:00
parent 15ba034ce5
commit 22b4f451ea
3 changed files with 5 additions and 5 deletions

View file

@ -412,8 +412,8 @@ script-run = once
color = 13
[usb devices]
pattern = usb([0-9]*)
device = /dev/ttyUSB%s
pattern = ^usb([0-9]*)
device = /dev/ttyUSB%m1
color = 14
```

View file

@ -56,8 +56,8 @@ log-strip = true
color = 11
[usb]
pattern = usb([0-9]*)
device = /dev/ttyUSB%s
pattern = ^usb([0-9]*)
device = /dev/ttyUSB%m1
color = 12
[rs-485-device]

View file

@ -622,7 +622,7 @@ regular expressions:
.nf
.eo
[usb device]
pattern = usb([0-9]*)
pattern = ^usb([0-9]*)
device = /dev/ttyUSB%m1
baudrate = 115200
.ec