You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extending this to include , and . would be nice, but (as mentioned in #1813 (comment) ) it really seems like this should simply be looking for a word boundary with \b. That would allow hover cards to activate for comments like // Is this GH-2085?, // Avoid the problem mentioned in GH-2085!, /***Test GH-2085***/, etc.
As an aside, most characters in character classes lose their specialness and don't need to be escaped; r1 and r2 behave identically:
This issue is similar to #1813, but not a duplicate.
Steps to Reproduce:
// GH-2085, blah blah
.// Test GH-2085.
The regex mentioned in #1813 currently considers
($|[\s\:\;\-\(\=\)])
after an issue number:vscode-pull-request-github/src/issues/util.ts
Lines 19 to 20 in 6da2af3
Extending this to include
,
and.
would be nice, but (as mentioned in #1813 (comment) ) it really seems like this should simply be looking for a word boundary with\b
. That would allow hover cards to activate for comments like// Is this GH-2085?
,// Avoid the problem mentioned in GH-2085!
,/***Test GH-2085***/
, etc.As an aside, most characters in character classes lose their specialness and don't need to be escaped;
r1
andr2
behave identically:The text was updated successfully, but these errors were encountered: