On Tuesday, June 30, 2020 at 10:30:05 AM UTC-7, Mat wrote:
>
> Good idea but/and I think this request has overlapping use; 
> Extend removeprefix op with :suffix to make less greedy #4520 
> <https://github.com/Jermolene/TiddlyWiki5/issues/4520>
>

That  issue is very similar to my proposal, but would mean adding ":lazy" 
handling to both removeprefix[] and removesuffix[], and wouldn't address 
the "repeating character" functionality in my proposal.

I think that extending the trim[] operator makes more sense semantically, 
in that it already functions as a "modify but don't remove" operation and 
my proposal merely extends this to allow greater specificity without 
changing the overall purpose.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dcb08682-ab24-4a38-beeb-de6f562a2c9bo%40googlegroups.com.

Reply via email to