You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nous pouvons mettre une expression régulière plus complexe dans `pattern:(?=(\w+))\1` au lieu de `pattern:\w`, lorsque nous devons interdire la rétroaction pour `pattern:+` après.
283
283
284
284
```smart
285
-
<<<<<<< HEAD
286
-
Il y a plus d'informations sur la relation entre les quantificateurs possessifs et lookahead dans les articles [Regex: Emulate Atomic Grouping (and Possessive Quantifiers) with LookAhead](http://instanceof.me/post/52245507631/regex-emulate-atomic-grouping-with-lookahead) et [Mimicking Atomic Groups](http://blog.stevenlevithan.com/archives/mimic-atomic-groups).
287
-
=======
288
-
There's more about the relation between possessive quantifiers and lookahead in articles [Regex: Emulate Atomic Grouping (and Possessive Quantifiers) with LookAhead](https://instanceof.me/post/52245507631/regex-emulate-atomic-grouping-with-lookahead) and [Mimicking Atomic Groups](https://blog.stevenlevithan.com/archives/mimic-atomic-groups).
289
-
>>>>>>> 5dff42ba283bce883428c383c080fa9392b71df8
285
+
Il y a plus d'informations sur la relation entre les quantificateurs possessifs et lookahead dans les articles [Regex: Emulate Atomic Grouping (and Possessive Quantifiers) with LookAhead](https://instanceof.me/post/52245507631/regex-emulate-atomic-grouping-with-lookahead) et [Mimicking Atomic Groups](https://blog.stevenlevithan.com/archives/mimic-atomic-groups).
290
286
```
291
287
292
288
Réécrivons le premier exemple en utilisant lookahead pour éviter la rétroaction :
@@ -318,4 +314,4 @@ Le problème décrit dans cet article est appelé "rétroaction catastrophique".
318
314
319
315
Nous avons couvert deux façons de le résoudre:
320
316
- Réécrivez l'expression régulière pour réduire le nombre de combinaisons possibles.
0 commit comments