Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search Twitter with a Regular Expression

Tags:

search

twitter

Is there a way to search the twitter api using a regular expressions? The expression I need to match is for a stock name.

/\$[a-zA-Z]{1,5}/
like image 544
Brooks Ryba Avatar asked Oct 21 '25 04:10

Brooks Ryba


1 Answers

No, and as for the reason, you have to look at it from an architectural standpoint. Given the volume that Twitter has using the API, they would have to do the regex match against all possible tweets that are searchable. That is an insane amount of data processing.

like image 90
onteria_ Avatar answered Oct 24 '25 14:10

onteria_