@@ -2462,7 +2462,7 @@ else if(classeEstBase) {
24622462 Boolean classeRolesTrouves = false ;
24632463
24642464 if (classeCommentaire != null ) {
2465- String motif = "^Val(:([^:\n ]+):)?\\ .(\\ w+)(\\ .([^:\n ]+))?: ([>|-]{0,2}(\\ d*)\\ n)?([\\ s\\ S]*?)(\\ n^\\ w|\\ Z)" ;
2465+ String motif = "^Val(:([^:\\ n]+):)?\\ .(\\ w+)(\\ .([^:\\ n]+))?: ([>|-]{0,2}(\\ d*)\\ n)?([\\ s\\ S]*?)(?= \\ n^\\ w|\\ Z)" ;
24662466 Matcher classeValsRecherche = Pattern .compile (motif , Pattern .MULTILINE ).matcher (classeCommentaire );
24672467 boolean classeValsTrouves = classeValsRecherche .find ();
24682468 while (classeValsTrouves ) {
@@ -3190,7 +3190,7 @@ else if(entiteClasseParts != null && entiteClasseParts.getDocumentSolr() != null
31903190 }
31913191
31923192 if (methodeCommentaire != null ) {
3193- String motif = "^Val(:([^:\n ]+):)?\\ .(\\ w+)(\\ .([^:\n ]+))?: ([>|-]{0,2}(\\ d*)\\ n)?([\\ s\\ S]*?)(\\ n^\\ w|\\ Z)" ;
3193+ String motif = "^Val(:([^:\\ n]+):)?\\ .(\\ w+)(\\ .([^:\\ n]+))?: ([>|-]{0,2}(\\ d*)\\ n)?([\\ s\\ S]*?)(?= \\ n^\\ w|\\ Z)" ;
31943194 Matcher entiteValsRecherche = Pattern .compile (motif , Pattern .MULTILINE ).matcher (methodeCommentaire );
31953195 boolean entiteValsTrouves = entiteValsRecherche .find ();
31963196 while (entiteValsTrouves ) {
@@ -4755,7 +4755,8 @@ else if(StringUtils.equalsAny(entiteNomCanonique, VAL_nomCanoniqueString)) {
47554755 }
47564756
47574757 if (methodeCommentaire != null ) {
4758- String motif = "^Val(:([^:\n ]+):)?\\ .(\\ w+)(\\ .([^:\n ]+))?: ([>|-]{0,2}(\\ d*)\\ n)?([\\ s\\ S]*?)(\\ n^\\ w|\\ Z)" ;
4758+ String motif = "^Val(:([^:\\ n]+):)?\\ .(\\ w+)(\\ .([^:\\ n]+))?: ([>|-]{0,2}(\\ d*)\\ n)?([\\ s\\ S]*?)(?=\\ n^\\ w|\\ Z)" ;
4759+ String motif = "^Val(:([^:\\ n]+):)?\\ .(\\ w+)(\\ .([^:\\ n]+))?: ([>|-]{0,2}(\\ d*)\\ n)?([\\ s\\ S]*?)(?=\\ n^\\ w|\\ Z)" ;
47594760 Matcher methodeValsRecherche = Pattern .compile (motif , Pattern .MULTILINE ).matcher (methodeCommentaire );
47604761 boolean methodeValsTrouves = methodeValsRecherche .find ();
47614762 while (methodeValsTrouves ) {
0 commit comments