Hi,


Op vr 23 mrt. 2018 17:55 schreef tooth pik <toothp...@gmail.com>:

> excuse me but really:  echo
> trim("rm<blob1><blob2><any_chars>rrmm<blob1><blob2><blob2>",
> "rm<blob1><blob2>")
> echoes "any_chars" not any_chas
>
> trim() is intended, and does, remove characters from the
> beginning and/or end of strings, not out of the middle
>
> I need to learn to have more faith in myself
>

If you tested it, I'm sure you've seen the result. I only looked at the
docs, wondered about the missing "r" and thought "that's because it's part
of the mask and the rest of the result isn't". So, I was wrong and this
does look like a doc bug!

Christ van Willegen

>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui