Sunday, December 24, 2023

Re: Function to find all matches in a string?

On 2023-12-24 08:44, arocker@Vex.Net wrote:
>> I was looking for something similar to Python's re.findall()/finditer()
>> function to answer a question on Reddit[1] but was surprised I
>> couldn't find anything in
>
> Are you using Linux, MacOS ,or Windows?

In this case, it was FreeBSD (and I'm uncertain about the author
of the post on Reddit), and there are a bunch of shell-based or
programming-language-based solutions to the particular problem.
My question was more about the (non-)existence of an internal

func(str, regex) -> List of matches

type function.

-tim





--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ZYhEEayK5QTSi7jo%40thechases.com.

No comments: