-
Notifications
You must be signed in to change notification settings - Fork 4
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
WISH: /CASE and /TAIL refinements for REPLACE #18
Comments
Rebol's version of |
@Palaing In Red's version there is also a I've added |
Here is my PR, @9214 @greggirwin can you please check? Note that didn't add |
This can be closed now as |
Don't wanna make a separate wish for this... My example:
Here I have to use |
Adding |
Another point is deep replacement vs using a parse rule: ☝️ June 7, 2019 9:33 PM |
Looking at the original ticket, |
R2:
with |
I understand how it works, but how/where has anyone used it in the real world? In a search of R2 code here, I found zero instances of it. And that includes all Rebol SDKs, IOS worlds, and a lot of other code. |
And what about |
The most common use case for I also think the vast majority of |
Original issue: red/red#2845
Title.
Results in
"1aBbCc"
And as of now it's impossible to replace the lowercase
a
, because/case
refinement is absent. For the sake of compatability, I propose to implement/tail
too, thus makingreplace
identical to R2 version:The text was updated successfully, but these errors were encountered: