admin 管理员组

文章数量: 1086019

I've installed the vscode-regex plugin and I'm now attempting to get it to work. I have the following javascript and text document side by side in VSCode:

However I'm not getting any matches in the email.txt document. I tried the keyboard mant ctrl + alt + m, but still no love. Any ideas?

I've installed the vscode-regex plugin and I'm now attempting to get it to work. I have the following javascript and text document side by side in VSCode:

However I'm not getting any matches in the email.txt document. I tried the keyboard mant ctrl + alt + m, but still no love. Any ideas?

Share Improve this question edited Jul 18, 2018 at 7:30 Gama11 34.3k9 gold badges90 silver badges106 bronze badges asked Jul 17, 2018 at 20:09 OleOle 47.4k70 gold badges237 silver badges445 bronze badges 1
  • 3 Why the "off-topic" vote to close? Is not "software tools monly used by programmers" specifically on-topic? – John Hascall Commented Jul 17, 2018 at 20:13
Add a ment  | 

1 Answer 1

Reset to default 7

The instructions of the VS-Code Regex Preview Plugin look straightforward: Just open the test and the sample in side-by-side view, hit the hotkey Ctrl+Alt+M (⌥⌘M).

Unfortunately, I run into the same and could not get it working initially.
The solution: I've used the hotkey, then click the grey link: Test Regex...

Actually, the link and the hotkey do the same. However, the hotkey only works after the matching has been triggered by the link or clicking the actual regex pattern (as mentioned by Mark) first.

本文标签: javascriptUsing the vscoderegex pluginStack Overflow