Skip to content

add #trim-end predicate #1888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

josharian
Copy link
Collaborator

The same thing can be accomplished with #shrink-to-match!,
but this is considerably simpler to use, and meets a common need.

Suggested by Pokey during review of #1854.

Checklist

  • [-] I have added tests
  • [-] I have updated the docs and cheatsheet
  • [-] I have not broken the cheatsheet

The same thing can be accomplished with #shrink-to-match!,
but this is considerably simpler to use, and meets a common need.

Suggested by Pokey during review of #1854.
@josharian josharian requested a review from pokey as a code owner September 12, 2023 02:03
@josharian
Copy link
Collaborator Author

never mind, I misread the regular expressions here...another good reason to have trimEnd, but not in this separate pull request. :)

@josharian josharian closed this Sep 12, 2023
@josharian josharian deleted the josh/query-predicate-trimEnd branch September 12, 2023 02:20
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