Postgresql Regexp Matches Array In Python