You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Can Cecen (Jira)" <ji...@apache.org> on 2020/06/03 23:01:00 UTC

[jira] [Created] (KAFKA-10098) Remove unnecessary escaping in regular expression in SaslAuthenticatorTest.java

Can Cecen created KAFKA-10098:
---------------------------------

             Summary: Remove unnecessary escaping in regular expression in SaslAuthenticatorTest.java
                 Key: KAFKA-10098
                 URL: https://issues.apache.org/jira/browse/KAFKA-10098
             Project: Kafka
          Issue Type: Improvement
            Reporter: Can Cecen


n.b. This is a newbie ticket designed to be an introduction to contributing for the assignee.

In line:
{code}
e.getMessage().matches(
                            ".*\\<\\[" + expectedResponseTextRegex + "]>.*\\<\\[" + receivedResponseTextRegex + ".*?]>"));
{code}
'<' does not need to be escaped.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)