[ 
https://issues.apache.org/jira/browse/KAFKA-10098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Can Cecen updated KAFKA-10098:
------------------------------
    Description: 
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}
'<' or '>' does not need to be escaped.



  was:
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.




> 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
>            Priority: Trivial
>              Labels: newbie
>
> 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}
> '<' or '>' does not need to be escaped.



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

Reply via email to