painting: properly look for a new start match only after the end match
1 file changed