Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Make rxx_replace behave correctly with zero-length matches #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s4y
Copy link

@s4y s4y commented Feb 21, 2014

Depends on OkCupid/sfslite#7.

"0123"|replace(r{^0*}, '') no longer evaluates to the empty string. Behavior now seems to match behavior of sane programming languages.

@s4y
Copy link
Author

s4y commented Mar 12, 2014

(Ditto)

`"0123"|replace(r{^0*}, '')` no longer evaluates to the empty string
@s4y s4y closed this Feb 17, 2015
@s4y s4y deleted the patch-fix-regexp-replace branch February 17, 2015 23:15
@s4y s4y restored the patch-fix-regexp-replace branch February 17, 2015 23:46
@s4y
Copy link
Author

s4y commented Feb 17, 2015

Accidental closure.

@s4y s4y reopened this Feb 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant