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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
