Ajout de la partie Pattern Matching
(cherry picked from commit 8dbcf206ca318383c8596a98266dbb43aeb46902)