RFR: 206: Add proper escaping for replacement pattern

Erik Helin ehelin at openjdk.java.net
Mon Dec 16 12:47:36 UTC 2019


On Mon, 16 Dec 2019 12:45:45 GMT, Robin Westberg <rwestberg at openjdk.org> wrote:

> Hi all,
> 
> Please review this fix that adds proper escaping for replacement patterns in the `TextToMarkdown.escapeFormatting` function. Previously it was possible for exceptions to be thrown on certain input containing regex control characters.
> 
> Best regards,
> Robin

Looks good!

-------------

Marked as reviewed by ehelin (Reviewer).

PR: https://git.openjdk.java.net/skara/pull/333


More information about the skara-dev mailing list