DM-307: Fixed bug in rule function byRegexWithLinebreaks #24
@ -141,8 +141,8 @@ public class RedactionSearchUtility {
|
||||
if (at.numberOfLines() > 1) {
|
||||
for (int i = 0; i < at.numberOfLines(); i++) {
|
||||
stringBuilder.append(at.getLine(i));
|
||||
stringBuilder.setCharAt(stringBuilder.length() - 1, '\n');
|
||||
}
|
||||
stringBuilder.setCharAt(stringBuilder.length() - 1, '\n');
|
||||
} else {
|
||||
stringBuilder.append(at.getSearchText()).setCharAt(stringBuilder.length() - 1, '\n');
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ public class DocumineFloraTest extends AbstractRedactionIntegrationTest {
|
||||
@Test
|
||||
public void titleExtraction() throws IOException {
|
||||
|
||||
AnalyzeRequest request = uploadFileToStorage("files/Documine/Flora/A8591B/18-Curacron_ToxicidadeOcularInVitro.pdf");
|
||||
AnalyzeRequest request = uploadFileToStorage("files/Documine/Flora/A13617AV/425_F.1.1.1 - A13617AV - Acute Oral Toxicity Study.pdf");
|
||||
System.out.println("Start Full integration test");
|
||||
analyzeService.analyzeDocumentStructure(new StructureAnalyzeRequest(request.getDossierId(), request.getFileId()));
|
||||
System.out.println("Finished structure analysis");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user