Documentation métier
Fiche BR-MSG-06
Quand une valeur est écrite avec une espace insécable ou fine, alors un motif écrit avec une espace normale la trouve quand même.
Défini dans Protéger un message avant l'envoi au modèle
Où vit la règle 2
Tests directs 13
Le test, ou une fonction d'aide de son fichier, appelle le code de la règle.
- tests/components/detector/test_regex.py::TestDetect::test_empty_text_returns_empty
- tests/components/detector/test_regex.py::TestDetect::test_finds_a_single_match_with_exact_offsets
- tests/components/detector/test_regex.py::TestDetect::test_finds_every_match_of_a_pattern
- tests/components/detector/test_regex.py::TestDetect::test_finds_matches_for_every_label
- tests/components/detector/test_regex.py::TestDetect::test_no_match_returns_empty
- tests/components/detector/test_regex.py::TestUnicodeSpaces::test_a_line_separator_is_read_as_a_newline
- tests/components/detector/test_regex.py::TestUnicodeSpaces::test_a_pattern_written_for_a_space_matches_any_space
- tests/components/detector/test_regex.py::TestUnicodeSpaces::test_spaces_before_a_value_do_not_shift_its_offsets
- tests/components/detector/test_regex.py::TestUnicodeSpaces::test_the_detection_keeps_the_spaces_as_written
- tests/text/test_normalization.py::TestNormalizeSpaces::test_a_line_separator_becomes_a_newline
- tests/text/test_normalization.py::TestNormalizeSpaces::test_a_space_separator_becomes_an_ascii_space
- tests/text/test_normalization.py::TestNormalizeSpaces::test_other_characters_are_kept
et 1 de plus
Tests indirects 2
Le test construit sa classe ou appelle une autre fonction de son module, qui mène à la règle.
Utilisé par 0
Aucun appelant trouvé.
Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.