Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jareha/2eb7a065a983008d215bfc4c7404a76e to your computer and use it in GitHub Desktop.
Save jareha/2eb7a065a983008d215bfc4c7404a76e to your computer and use it in GitHub Desktop.
Regex mute filter for all Major League Baseball teams in Tweetbot, excepting “Texas Rangers” to avoid false positives
tweetbot:///mute/keyword?regex=1&text=Anaheim Angels%7CArizona Diamondbacks%7CAtlanta Braves%7CBaltimore Orioles%7CBoston Red Sox%7CChicago Cubs%7CChicago White Sox%7CCincinnati Reds%7CCleveland Guardians%7CCleveland Indians%7CColorado Rockies%7CDetroit Tigers%7CHouston Astros%7CKansas City Royals%7CLos Angeles Angels%7CLos Angeles Dodgers%7CMiami Marlins%7CMilwaukee Brewers%7CMinnesota Twins%7CNew York Mets%7CNew York Yankees%7COakland Athletics%7CPhiladelphia Phillies%7CPittsburgh Pirates%7CSan Diego Padres%7CSan Francisco Giants%7CSeattle Mariners%7CSt. Louis Cardinals%7CTampa Bay Rays%7CToronto Blue Jays%7CWashington Nationals
@jareha
Copy link
Author

jareha commented Apr 28, 2017

False positive being for the true Texas Rangers.

@jareha
Copy link
Author

jareha commented Apr 28, 2017

(Now, if only there were a regex for John Gruber’s baseball subtweets.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment