Fix regex for triple quoted strings in Turtle lexers by Markus92 · Pull Request #2758 · pygments/pygments

@Markus92

The test cases for the turtle lexer did not include triple quoted
strings (neither single nor double). The regex used to match the
string contents matched every single character except escape characters,
but crucially it also matched the triple quotes used to delineate the
termination of such a string. The updated regex specifically excludes
these characters.

@Markus92 mentioned this pull request

Aug 1, 2024