A pattern such as [W -]46] is interpreted as a class of two characters ("W "and" -") fol - lowed by a literal string "46]", so it would match "W46] "orA pattern such as [W -]46] is interpreted as a class of two characters ("W" and "-") fol - lowed by a literal string "46]", so it would match "W46]" or "-46] ".
Un masque tel que [W -]46] est compris comme la classe de caractères contenant deux caractères ("W "et" -") suivi de la chaîne littérale "46]", ce qui fait qu'il va accepter "W46]" ou "-46]".