Skip to content

Conversation

@jellz
Copy link
Contributor

@jellz jellz commented Oct 4, 2020

This PR removes an incorrect comment regarding a RegEx in the code, which has the potential to mislead and confuse other people studying the code for their own learning purposes.

This comment was leftover from the old "thanks" check, but it doesn't belong there anymore.

@robertt
Copy link
Member

robertt commented Oct 4, 2020

Although, they still do all have to be lowercase.

@jellz
Copy link
Contributor Author

jellz commented Oct 4, 2020

The RegEx in the code is case insensitive, see here

@ckiee
Copy link
Collaborator

ckiee commented Oct 4, 2020

Although, they still do all have to be lowercase.

It's ambiguous - the comment could have meant the words in the array that was there before needed to be all lowercase OR that the words in the messages we're filtering needed to be all lowercase. (although the former makes more sense)

@robertt
Copy link
Member

robertt commented Oct 4, 2020

I was referring to how the words in the regex need to be lowercase but after testing I realised they don't, merging 👍

@robertt robertt merged commit 2cd6ede into typescript-community:master Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants