利用xshell里面的突出显示集,自动以正则表达式,使自己的xshell显示不再单调
菜单——工具——突出显示集
新建一个新的突出显示集
添加如下关键字
underline
要强调的关键字 |
\b(http(s)?://[A-Za-z0-9_./&?=%~#{}()@+-]+)\b |
文本颜色 |
白色 |
背景颜色 |
终端颜色 |
red
要强调的关键字 |
(\b(bad|wrong|incorrect|invalid|unsupported|not properly|improperly|(operation |connection |authentication |access |permission )?(false|no|ko|denied|disallowed|not allowed|refused|problem|failed|failure|not permitted)|no [A-Za-z]+( [A-Za-z]+)? found|invalid|unsupported|not supported|corruption|corrupted|corrupt|overflow|underrun|not|unsuccessfull|errore|errors?|erreurs?|erro|red|inactive)\b) |