Skip to content
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

Add single quote preserving trimmer as proof of concept #694

Open
eeverman opened this issue Nov 14, 2021 · 0 comments
Open

Add single quote preserving trimmer as proof of concept #694

eeverman opened this issue Nov 14, 2021 · 0 comments

Comments

@eeverman
Copy link
Owner

Is your feature request related to a problem? Please describe.
Properties can have whitespace trimmers specified, but there are no useful examples of this, or other trimmers to use. Trimming to single quotes (or even a configurable delimiter) would be a great example and be really useful for some values.

Describe the solution you'd like
Similar to the QuotedSpacePreservingTrimmer, which is used by default for StrProp Properties, create a SingleQuoteSpacePreservingTrimmer that behaves the same except it is based on single quotes. This would be useful for values that may contain double quotes, especially if the value starts of ends w/ double quotes.

Documentation and examples should be updated to highlight this as a feature, especially the Whitespace Handling page
. The documentation update can be handled as a separate task as needed.

@eeverman eeverman added this to the 0.5.0 milestone Nov 14, 2021
@eeverman eeverman modified the milestones: 0.5.0, 0.5.1 Sep 27, 2022
@eeverman eeverman modified the milestones: 1.5.1, Next Next Dot Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant