terminator-plugins
terminator-plugins copied to clipboard
Detect filename with spaces
Thanks for the plugin!
I changed a little the regex to only detects filenames ending with three chars because otherwise everything is highlighted
match = r"[^ \t\n\r\f:]+(:[0-9]+)?\.[a-zA-Z][a-zA-Z][a-zA-Z]"
I couldn't make it work with filenames that contains spaces.