Skip to content

Remove the requirement for CharStream patterns to be anchored with ^.#1348

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_883810093
Mar 16, 2026
Merged

Remove the requirement for CharStream patterns to be anchored with ^.#1348
copybara-service[bot] merged 1 commit intomasterfrom
test_883810093

Conversation

@copybara-service
Copy link

Remove the requirement for CharStream patterns to be anchored with ^.

This apparently stemmed only from the use of Matcher.find() where .lookingAt() would be more appropriate.

Also inline fullCommentPattern(). There doesn't seem to be any reason for it alone to be a separate method, and it was flagged by static analysis with a suggestion that it should in fact be a static final.

…`^`.

This apparently stemmed only from the use of `Matcher.find()` where `.lookingAt()` would be more appropriate.

Also inline `fullCommentPattern()`. There doesn't seem to be any reason for it alone to be a separate method, and it was flagged by static analysis with a suggestion that it should in fact be a static final.

PiperOrigin-RevId: 884437383
@copybara-service copybara-service bot merged commit d2f234d into master Mar 16, 2026
@copybara-service copybara-service bot deleted the test_883810093 branch March 16, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant