Add single quote preserving trimmer as proof of concept
- Dominant language
- Java
- Stars
- 25
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
**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
](https://www.andhowconfig.org/user-guide/whitespace-handling). The documentation update can be handled as a separate task as needed.
Contributor guide
Assessment
This issue has not been assessed yet.