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

Simple string replacement #418

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@agrafix

agrafix commented Oct 3, 2015

I think simple string replacement w/o Regex would be a good addition to the core library for a simple search and replace.

@evancz evancz added the request label Nov 19, 2015

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Mar 7, 2018

Member

This should be in the next release https://github.com/elm-lang/core/blob/master/src/String.elm#L144-L154

With regex being in a separate package, it makes sense to cover the common case. That way folks do not have to reach for regex or parsers to do this sort of thing.

Member

evancz commented Mar 7, 2018

This should be in the next release https://github.com/elm-lang/core/blob/master/src/String.elm#L144-L154

With regex being in a separate package, it makes sense to cover the common case. That way folks do not have to reach for regex or parsers to do this sort of thing.

@evancz evancz closed this Mar 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment