strip leading/trailing white space and following inline comments from value#8
strip leading/trailing white space and following inline comments from value#8shoibalc wants to merge 1 commit intoJuliaIO:masterfrom shoibalc:inlinecomments
Conversation
…separated by at least a space or a tab) from value
|
I am no regexp expert so am not 100% sure if this is correct. Randomly ping @StefanKarpinski @tanmaykm @daviddelaat @ViralBShah which might have more experience or objections as they made commits to this package. I tried it out and it seems to work so I would merge and tag if there are no objections. |
|
This doesn't seem right. For example, your regex is wrong because Also, any solution of this form is going to be brittle because ini files can contain strings. e.g. |
|
Ok thanks for reviewing Steve! Then better not merging unless a proper solution is proposed. |
|
Cross ref https://groups.google.com/forum/?fromgroups=#!topic/julia-users/O3UF-MbtxbI where the request to use the proposed PR has been made. |
strip leading/trailing white space and following inline comments (if separated by at least a space or a tab) from value.