On Saturday, August 5, 2017 at 2:09:41 PM UTC-7, ZyX wrote:
> 2017-08-05 23:27 GMT+03:00 porphyry5 :
> > On Friday, August 4, 2017 at 10:03:16 AM UTC-7, porphyry5 wrote:
> >> :h submatch( includes
> >> Example:
> >> :s/\d\+/\=submatch(0) + 1/
> >>
2017-08-05 23:27 GMT+03:00 porphyry5 :
> On Friday, August 4, 2017 at 10:03:16 AM UTC-7, porphyry5 wrote:
>> :h submatch( includes
>> Example:
>> :s/\d\+/\=submatch(0) + 1/
>> This finds the first number in the line and adds one to it.
>>
>> Needing
On Friday, August 4, 2017 at 10:03:16 AM UTC-7, porphyry5 wrote:
> :h submatch( includes
> Example:
> :s/\d\+/\=submatch(0) + 1/
> This finds the first number in the line and adds one to it.
>
> Needing to increment several fields consisting of underscore and a single
2017-08-04 20:03 GMT+03:00 Graham Lawrence :
> :h submatch( includes
> Example:
> :s/\d\+/\=submatch(0) + 1/
> This finds the first number in the line and adds one to it.
>
> Needing to increment several fields consisting of underscore and a single
>
:h submatch( includes
Example:
:s/\d\+/\=submatch(0) + 1/
This finds the first number in the line and adds one to it.
Needing to increment several fields consisting of underscore and a single
digit (_\d) I modified the above along the lines of