Re: need help with regex and matchlist()

2017-09-02 Thread Nikolay Aleksandrovich Pavlov
2017-09-02 23:06 GMT+03:00 Lifepillar : > On 02/09/2017 19:46, Jose Caballero wrote: >> >> Hi, >> >> As this is my first time I try to write a vimscript function that uses >> regular expressions, I am a little bit of lost. Not sure which >> built-in function is the most

Re: need help with regex and matchlist()

2017-09-02 Thread Lifepillar
On 02/09/2017 19:46, Jose Caballero wrote: Hi, As this is my first time I try to write a vimscript function that uses regular expressions, I am a little bit of lost. Not sure which built-in function is the most proper, and/or how to use it. Let's say I have this line (very familiar for python

need help with regex and matchlist()

2017-09-02 Thread Jose Caballero
Hi, As this is my first time I try to write a vimscript function that uses regular expressions, I am a little bit of lost. Not sure which built-in function is the most proper, and/or how to use it. Let's say I have this line (very familiar for python developers): def __init__(self, x, y,