You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "popsunlake (via GitHub)" <gi...@apache.org> on 2026/07/17 07:50:40 UTC
[PR] MINOR: Fix regex escaping in Kafka Streams WordCount examples [kafka]
popsunlake opened a new pull request, #22856:
URL: https://github.com/apache/kafka/pull/22856
Several Kafka Streams WordCount and line-splitting examples use `\W+` directly in Java or Scala string literals. Because the regular-expression backslash is not escaped at the source-language level, the snippets contain an illegal string escape and cannot be compiled as shown.
This change uses `\\W+` in the Processor API guide, introduction, quickstart, and tutorial so that the examples pass `\W+` to the regular-expression engine. No Kafka build or tests were run because the changes only correct string literals in documentation snippets; `git diff --check` passed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Fix regex escaping in Kafka Streams WordCount examples [kafka]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22856:
URL: https://github.com/apache/kafka/pull/22856#issuecomment-5076842508
A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the `triage` label
should be removed to prevent this automation from happening again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org