patil-ashutosh / go-regex-utility

A curated list of golang applications using regex
MIT License
3 stars 8 forks source link

ADD: RemoveLineBreaks function #20

Closed binkkatal closed 4 years ago

binkkatal commented 4 years ago

RemoveLineBreaks removes all line breaks from a string using a regex. As per https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#lineending, Any Unicode linebreak sequence, is equivalent to \u000D\u000A|[\u000A\u000B\u000C\u000D\u0085\u2028\u2029] .

binkkatal commented 4 years ago

@patil-ashutosh , do i need to setup codecov token for this PR to be merged ?

patil-ashutosh commented 4 years ago

@binkkatal you need to refresh branch first. might be need to resolve conflicts

How to refresh branch: https://stackoverflow.com/questions/7244321/how-do-i-update-a-github-forked-repository https://medium.com/@topspinj/how-to-git-rebase-into-a-forked-repo-c9f05e821c8a

Or let me know , I will resolve conflicts

binkkatal commented 4 years ago

@patil-ashutosh , rebased, was waiting for the token missing fix

patil-ashutosh commented 4 years ago

@binkkatal Thanks for working on this. You can also work on open new issue/feature relevant to this repo