-
Notifications
You must be signed in to change notification settings - Fork 182
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
Generated MS search lacks body_is_regex=1 #10228
Comments
Add "body_is_regex=1" to the MS searches that SmokeDetector automatically creates for new PRs. Should resolve [Charcoal-SE#10228](Charcoal-SE#10228).
|
Maybe we could just strip comments from number blacklists entirely. Something like |
That regex is incorrect and will, potentially, strip things other than just comments. Please use the already existing regex to strip such comments. Actually searching for something that approximates what the phone number code does is substantially more involved than just stripping the comment and searching for the number. An approximation that's reasonably easy to code would be to use the same strategy as is used with the number search bookmarklets. Those don't attempt to handle potential obfuscations within the text. However, they do try to get at least some of those by also looking in the |
What problem has occurred? What issues has it caused?
When you create a PR from chat, SmokeDetector follows up with search results after a while. However, the generated search fails to specify that the search is for a regular expression. Thus e.g. #10227 has a search which could never work.
(It didn't work anyway for other reasons, but without the "regex" check box, it couldn't have.)
What would you like to happen/not happen?
The generated search should have the regex box ticked. That is,
should be
The text was updated successfully, but these errors were encountered: