Custom regex example in ~/.config/tailspin/config.toml #189
-
Hello, thanks for creating this project! I am using it with logs from Cisco IOS network switches. I would like to color entries like "GigabitEthernet1/0/25" The pattern can have 1 digit after GigabitEthernet, 1 digit after the first / and two digits at the end. For example I created IOS-config.toml and placed it in ~/.config/tailspin. Here is the entry for the regex [[regexes]] It works in sublime text but not when I run tspin. Other entries in the toml file do work. Can you point me in the right direction? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello there ! |
Beta Was this translation helpful? Give feedback.
Hello there !
Can you show a screenshot with output, please ?
I guess, built-in highlight groups overlapping custom regexes, therefore I think you should use --disable flag for them.