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

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

     [ 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)