- Examples
Par exemple, "{,6}" n'est pas un quantificateur, mais une chaîne de 4 caractères. | For example, {,6} is not a quantifier, but a literal string of four characters. |
Attention à ne pas confondre l'utilisation du point d'interrogation ici avec son utilisation comme quantificateur lui-même. | Do not confuse this use of question mark with its use as a quantifier in its own right. |
Cela arrive avec les alternatives, comme dans l'exemple ci-dessus, ou avec un quantificateur de minimum 0. | This can be done using alternation, as in the example above, or by a quantifier with a minimum of zero. |
Cela arrive avec les alternatives, comme dans l'exemple ci-dessus, ou avec un quantificateur de minimum 0. Assertions | This can be done using alternation, as in the example above, or by a quantifier with a minimum of zero. |
Pour cette raison, utilisez \K plutôt qu’une assertion arrière positive quand vous avez un quantificateur (ou pire, plusieurs) dans un groupe capturant de l’assertion arrière positive. | For this reason, use \K rather than a positive lookbehind when you have a quantifier (or worse, several) in a capturing group of the positive lookbehind. |
Néanmoins, si elle est utile, il faudra être très prudent dans l’utilisation d’un quantificateur dans une assertion arrière : la gourmandise associée à l’absence de marche arrière peut donner une capture surprenante. | Nevertheless, if it is useful, it will be necessary to be very careful in the use of a quantifier in a lookbehind: the greed associated with the absence of backtracking can give a surprising capture. |
Le quantificateur universel indique que tous les éléments d'un ensemble possèdent une certaine propriété. | The universal quantifier indicates that all the elements in a set have a certain property. |
Cela réserve des surprises, au début. ? suit un quantificateur pour le rendre non gourmand (lazy). | This often causes surprises, at first.? follows a quantifier to make it lazy. |
Elle peut aussi être mise dans le masque avec l'option ?U dans le pattern ou par un point d'interrogation avant le quantificateur (.e.g. | It can also be set by a (?U) modifier setting within the pattern or by a question mark behind a quantifier (e.g. |
Une accolade ouvrante qui apparaît à une position où un quantificateur n'est pas accepté, ou si la syntaxe des quantificateurs n'est pas respectée, sera considérée littérale. | An opening curly bracket that appears in a position where a quantifier is not allowed, or one that does not match the syntax of a quantifier, is taken as a literal character. |
Chaque fois que « más » fonctionne comme quantificateur, il prend un accent. | Whenever "más" functions as a quantifier it takes an accent. |
Random Word
Roll the dice and learn a new word now!
