Replies: 1 comment
-
Neat, I like those. A few thoughts:
(edited for typos and also the & ... was ironically getting unescaped) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
These are some whitespace utilities that I use all the time extracted from another codebase which could replace
trim_whitespace
. They could use better names perhaps. Unfortunately,strip
has a different meaning in Ruby which I feel is actually a poor choice. In any event, these versions do a better job of dealing with whitespace, including unicode whitespace.Beta Was this translation helpful? Give feedback.
All reactions