Outils pour utilisateurs

Outils du site


lang:regex

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
lang:regex [2021/02/24 12:28] – Ajout de "Supprimer les trailing whitespaces" rootlang:regex [2021/09/24 11:41] (Version actuelle) – [Bloc] : ajout des sources pour "Exclusion" root
Ligne 39: Ligne 39:
 [[https://www.regular-expressions.info/lookaround.html|Lookahead and Lookbehind Zero-Length Assertions]] {{ :lang:regex:regex_tutorial_-_lookahead_and_lookbehind_zero-length_assertions_2021-02-07_09_45_49_.html |Archive du 09/03/2020 le 07/02/2021}} [[https://www.regular-expressions.info/lookaround.html|Lookahead and Lookbehind Zero-Length Assertions]] {{ :lang:regex:regex_tutorial_-_lookahead_and_lookbehind_zero-length_assertions_2021-02-07_09_45_49_.html |Archive du 09/03/2020 le 07/02/2021}}
  
 +  * Exclusion
 +
 +Rechercher un mot non suivi d'un autre dans la ligne. Ici, ''MotInclus'' et ''MotExclus'' n'ont pas besoin de se toucher.
 +
 +''MotInclus(?!.*MotExclus).*$''
 +
 +[[https://stackoverflow.com/questions/10375045/regexp-exclusion-looking-for-a-word-not-followed-by-another|RegExp exclusion, looking for a word not followed by another]] {{ :lang:regex:regex_-_regexp_exclusion_looking_for_a_word_not_followed_by_another_-_stack_overflow_9_24_2021_11_39_01_am_.html |Archive du 29/04/2012 le 24/09/2021}}
 ====Évaluateur d'expression==== ====Évaluateur d'expression====
 [[https://regex101.com|regex101]] [[https://regex101.com|regex101]]
lang/regex.1614166098.txt.gz · Dernière modification : 2021/02/24 12:28 de root