Charcoal-SE / SmokeDetector

Headless chatbot that detects spam and posts links to it in chatrooms for quick deletion.

Home Page:https://metasmoke.erwaysoftware.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Have the PR magic links strip out all regex comments (?#...) for the "Stack Exchange search in text, in URLs, and in code."

jeffschaller opened this issue · comments

It would make it quicker / easier to find any on-site hits while looking to approve PR's.

For example, foobarbaz(?#madeup) would result in search links for just foobarbaz.

I believe this needs to happen in gitmanager.py circa line 198 to add some pre- or in-line processing of arg 7.

Looks like something similar was tackled in #2437 with 9a71561 so hopefully similar code could be used here.

By "on-site" do you mean "on the global SE Network site" or "on MS"?

By "on-site" do you mean "on the global SE Network site" or "on MS"?

The global SE Network site -- the three "text", "URL" and "code" links.