Skip to main content

Table 1 Regular expressions.

From: Analysing Twitter and web queries for flu trend prediction

Theme RegEx
Flu
Cold
Flu Symptoms
(en)?grip[a-z]+
constip[a-z]+
(febre .* grau(s)?) | (grau(s)? .* febre) |
( bodypains .* febre) | (febre .* bodypains )
bodypains: do(r(es)?|i-me)\s*(no|na|de|o|a)?\s*(corpo|cabeca|garganta)
  1. Regular expressions used to filter influenza related tweets.