-
Notifications
You must be signed in to change notification settings - Fork 28k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable regex's ^, $ and ^$ to be matched in file dialog #314
Conversation
Hi @Tyriar, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
@Tyriar, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR. |
Looks awesome. |
do { | ||
m = searchRegex.exec(text); | ||
if (m) { | ||
result.push(new Range(lineNumber, m.index + 1 + deltaOffset, lineNumber, m.index + 1 + m[0].length + deltaOffset)); | ||
var range = new Range(lineNumber, m.index + 1 + deltaOffset, lineNumber, m.index + 1 + m[0].length + deltaOffset); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use var
in TS when let
and const
are available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because const
and let
are not used in the file yet `var is extensively and there's not mention in the coding guidelines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of code was written before TypeScript added support for let
. We didn't do a full pass to replace all usages
@Tyriar This is great! Thank you so much! ❤️ |
Enable regex's ^, $ and ^$ to be matched in file dialog
Guys i Want the oposite of that if i want to find this pattern }{ nad i want to make line break like I have this{"index":{"_id":0}},{"index":{"_id":0}} And i want this{"index":{"_id":0}} is any wat to filter for
|
Fixes #278