Not a URL matching as URL with ⌘-Click
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: 3.3.9
- OS version: 10.15.3
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog
default 14:27:46.859863-0500 iTerm2 Perform smart selection on text: node14/0*32
default 14:27:46.859944-0500 iTerm2 Try regex ^\d{1,6}\.jon82
default 14:27:46.859988-0500 iTerm2 No matches. Fall back on word selection.
default 14:27:46.866743-0500 iTerm2 Opening URL <private> with application <private>
default 14:27:46.873904-0500 iTerm2 _LSLaunch('<private>')
Detailed steps to reproduce the problem:
- Pointer / General / ⌘-Click is enabled
What happened:
Unexpectedly node14/0*32
is being matched as a URL and ⌘-Click will open it in the browser as "https://node14/0*32". (I noticed because this syntax is near text that regex ^\d{1,6}\.jon82
would match.)
Here's an example of what's on screen in the window,
jon82:
Req'd Req'd Elap
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time
--------------- -------- -------- ---------- ------ --- --- ------ ----- - -----
1471.jon82 userone workq job1 857 1 32 -- 100:0 R 81:12
node14/0*32
1472.jon82 usertwo workq job2 801 2 64 -- 48:00 R 07:31
node16/0*32+node15/0*32
What should have happened:
I don't think node14/0*32
or node16/0*32+node15/0*32
should match as a URL. (If maybe I should add something to smart selection to override this behavior, that's fine.)
Edited by jasonmader