terminator-plugins icon indicating copy to clipboard operation
terminator-plugins copied to clipboard

Detect filename with spaces

Open humitos opened this issue 8 years ago • 0 comments

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.

humitos avatar Sep 17 '17 22:09 humitos