Skip to content

Instantly share code, notes, and snippets.

@cwage

cwage/-

Created Nov 14, 2016
Embed
What would you like to do?
return 0 unless ($ref->{'user'}->{'screen_name'} =~ /$userfilter/i);
return 0 if ($ref->{'text'} =~ /(rand|ron) paul|Hillary|Clinton|Cruz|Rubio|POTUS|bernie|sanders|trump/i);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment