Unable to redact text file containing asterisks

I have a text file which is not redacting below are the system details and code to reproduce. The text file is inside the zip.

    @Test
    void scratch() throws Exception {
        try (Redactor r = new Redactor(getClass().getResourceAsStream("/50nature.txt"));
                        OutputStream o = Files.newOutputStream(Paths.get("build/redacted.txt"))) {
            Redaction[] redactions =
                new Redaction[] { new ExactPhraseRedaction("nature", false, new ReplacementOptions("*")) };
            r.apply(redactions);
            RasterizationOptions ro = new RasterizationOptions();
            ro.setEnabled(false);
            r.save(o, ro);
        }
    }

OS: Windows 11
Java: 17
Redaction SDK: 21.12
50nature.zip (219 Bytes)

@shiva.k

We couldn’t reproduce this issue using latest version of the API. Please take a look at this
output.zip (171 Bytes). We noticed another thing that if the license is not applied, then the output looks different, as in this output.zip (277 Bytes). Could you please try the process again after applying a valid license. You can request a temporary license as well.

I am using an OEM license and have applied license. No watermark content generated when redacted that should mean I have valid license. The first output.zip you shared also have issue the last line is not redacted. Is there an issue in the SDK version I am using?

@shiva.k

Could you please try the latest version of the API?

That is because we tried it without license. You can see second ZIP file with expected output.