tmux-copycat icon indicating copy to clipboard operation
tmux-copycat copied to clipboard

Adopt grep -P to improve matches

Open oblitum opened this issue 6 years ago • 1 comments

  • Fix support for matching quotes in URLs
  • Don't match whitespace before file paths
  • grep -P is needed

This solves one of the issues I've commented at:

  • https://github.com/tmux-plugins/tmux-copycat/pull/134#issuecomment-447623916

I'm finally getting this all fixed! Locally at least :)

  • Associated tmux-open pull-request: https://github.com/tmux-plugins/tmux-open/pull/38

oblitum avatar Dec 18 '18 04:12 oblitum

Dunno why that single test fails on Travis, the test's match with message works on my machine. I've tried these changes on Linux and macOS.

oblitum avatar Dec 25 '18 21:12 oblitum