Skip to content

Conversation

@copybara-service
Copy link
Contributor

Update the toString() of some CharMatcher types.

Most toString() implementations mimic the code that could have produced the instance. Notably, someCharMatcher.negate() produces someCharMatcher.toString() + ".negate()". But the toString() for .and and .or used a syntax that made it look as if these were static methods rather than instance ones.

Also update a couple of tests that depend on the exact toString() output.

RELNOTES=n/a

@copybara-service copybara-service bot force-pushed the test_828628927 branch 3 times, most recently from 4c53323 to fb622f3 Compare November 7, 2025 02:22
@copybara-service copybara-service bot closed this Nov 7, 2025
@copybara-service copybara-service bot deleted the test_828628927 branch November 7, 2025 02:46
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.

0 participants