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?
- 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
1 Answer
Reset to default 7The 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.