Skip to content

Instantly share code, notes, and snippets.

@jimmynotjim
Forked from imathis/tweetbot-mute-regex.md
Created July 19, 2012 14:37
Show Gist options
  • Select an option

  • Save jimmynotjim/3144371 to your computer and use it in GitHub Desktop.

Select an option

Save jimmynotjim/3144371 to your computer and use it in GitHub Desktop.

Revisions

  1. jimmynotjim revised this gist Jul 21, 2012. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions more-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -21,8 +21,12 @@ Path app location updates: `(at Location) - path.com/foo`

    Foursquare app location updates: `w/ @twittername 4sq.com/foo`

    w/ @[^@]+http://[^ ]+$
    w/ @[^@]+ http://[^ ]+$

    More Foursquare app location updates: `w/ 8 others 4sq.com/foo`

    w/+[^#]+others http://[^ ]+$
    w/ [0-9]+ others http://[^ ]+$

    Yet more Foursquare app location updates (seriously...): `(@ Location w/ 4 others) 4sq.com/foo`

    \(@ [a-zA-Z0-9_/ ] w/ [0-9]+ others*\) http://[^ ]+$
  2. jimmynotjim revised this gist Jul 21, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions more-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -14,6 +14,7 @@ Not a regex, but self retweets: `In case you missed it I pooped this morning :)`

    ##App Location Updates

    (updated for multiple words in Location name)
    Path app location updates: `(at Location) - path.com/foo`

    \(at [a-zA-z0-9_ ]*\) — http://[^ ]+$
  3. jimmynotjim revised this gist Jul 21, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion more-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ Not a regex, but self retweets: `In case you missed it I pooped this morning :)`

    Path app location updates: `(at Location) - path.com/foo`

    \(at [^ ]+\) — http://[^ ]+$
    \(at [a-zA-z0-9_ ]*\) — http://[^ ]+$

    Foursquare app location updates: `w/ @twittername 4sq.com/foo`

  4. jimmynotjim revised this gist Jul 19, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion more-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ Not a regex, but self retweets: `In case you missed it I pooped this morning :)`

    Path app location updates: `(at Location) - path.com/foo`

    \(at [^ ]+/) — http://[^ ]+$
    \(at [^ ]+\) — http://[^ ]+$

    Foursquare app location updates: `w/ @twittername 4sq.com/foo`

  5. jimmynotjim revised this gist Jul 19, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions more-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -16,12 +16,12 @@ Not a regex, but self retweets: `In case you missed it I pooped this morning :)`

    Path app location updates: `(at Location) - path.com/foo`

    \(at [^ ]+/) — http://[^ ]+$
    \(at [^ ]+/) — http://[^ ]+$

    Foursquare app location updates: `w/ @twittername 4sq.com/foo`

    w/ @[^@]+http://[^ ]+$

    More Foursquare app location updates: `w/ 8 others 4sq.com/foo`

    w/+[^#]+others http://[^ ]+$
    w/+[^#]+others http://[^ ]+$
  6. jimmynotjim revised this gist Jul 19, 2012. 1 changed file with 16 additions and 22 deletions.
    38 changes: 16 additions & 22 deletions more-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -1,33 +1,27 @@
    Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD
    ##Simply annoying Tweets

    ```
    ([a-z])/1{4}
    ```
    Annoyingly extended words (4+ of the same letter in a phrase): `OOOOHHHHMMMMYYYYGGGGOOOODDDD`

    Path app location updates: (at Location) - path.com/foo
    ([a-z])/1{4}

    ```
    \(at [^ ]+/) — http://[^ ]+$
    ```
    Tweet w/ just a single hashtag: `#omgthissucks`

    ^ *#[^ ]+$

    Tweet w/ just a single hashtag: #omgthissucks
    Not a regex, but self retweets: `In case you missed it I pooped this morning :)`

    ```
    ^ *#[^ ]+$
    ```
    In case you missed it

    Foursquare app location updates: w/ @twittername 4sq.com/foo
    ##App Location Updates

    ```
    w/ @[^@]+http://[^ ]+$
    ```
    Path app location updates: `(at Location) - path.com/foo`

    \(at [^ ]+/) — http://[^ ]+$

    More Foursquare app location updates: w/ 8 others 4sq.com/foo
    Foursquare app location updates: `w/ @twittername 4sq.com/foo`

    ```
    w/+[^#]+others http://[^ ]+$
    ```
    w/ @[^@]+http://[^ ]+$

    Not a regex, but self retweets: In case you missed it I pooped this morning :)
    More Foursquare app location updates: `w/ 8 others 4sq.com/foo`

    In case you missed it
    w/+[^#]+others http://[^ ]+$
  7. jimmynotjim revised this gist Jul 19, 2012. No changes.
  8. jimmynotjim revised this gist Jul 19, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions more-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYG
    Path app location updates: (at Location) - path.com/foo

    ```
    \(at [^ ]+/)
    \(at [^ ]+/) — http://[^ ]+$
    ```

    Tweet w/ just a single hashtag: #omgthissucks
    @@ -30,4 +30,4 @@ w/+[^#]+others http://[^ ]+$

    Not a regex, but self retweets: In case you missed it I pooped this morning :)

    In case you missed it
    In case you missed it
  9. jimmynotjim revised this gist Jul 19, 2012. 1 changed file with 33 additions and 0 deletions.
    33 changes: 33 additions & 0 deletions more-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD

    ```
    ([a-z])/1{4}
    ```

    Path app location updates: (at Location) - path.com/foo

    ```
    \(at [^ ]+/)
    ```

    Tweet w/ just a single hashtag: #omgthissucks

    ```
    ^ *#[^ ]+$
    ```

    Foursquare app location updates: w/ @twittername 4sq.com/foo

    ```
    w/ @[^@]+http://[^ ]+$
    ```

    More Foursquare app location updates: w/ 8 others 4sq.com/foo

    ```
    w/+[^#]+others http://[^ ]+$
    ```

    Not a regex, but self retweets: In case you missed it I pooped this morning :)

    In case you missed it
  10. @imathis imathis created this gist Jun 27, 2012.
    47 changes: 47 additions & 0 deletions tweetbot-mute-regex.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,47 @@
    ## Hashtag abuse

    Three or more hashtags.

    ```
    #[^#]+#[^#]+#
    ```

    Long hashtags (15+ characters): `#hashtagpunchline`

    ```
    #[^ ]{15}
    ```

    CamelCase hashtags (3+ Words): `#NotSelfAware`

    ```
    #[^a-z ]+[^A-Z ]+[^a-z ]+[^A-Z ]+[^a-z ]+[^ ]*
    ```

    ## Painful to read

    Unforgivable word shortening: `I'm near ur place r u busy?`

    ```
    \sur\s
    \sr\s
    \su\s
    ```

    Mass conversations (4+ Mentions): `@guy @dude @otherguy @man totally.`

    ```
    @[^@]+@[^@]+@[^@]+@
    ```

    Retweet chains (2+ RTs): `OMG RT @teengirlsquad RT @beebz I'm thinking of you.`

    ```
    RT[^RT]+RT
    ```

    Mentions with only a URL (spam): `@imathis tinyurl.com/spam`

    ```
    ^@imathis *https?://[^ ]+$
    ```