While Spain has not suffered an Islamist-inspired terror attack since the Madrid train bombings in 2004, in recent years there have been regular arrests of suspects thought to have been carrying out recruiting activities for jihadist groups.