Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [parsing]

The tag has no usage guidance.

0
votes
1answer
24 views

How to parse a string to a list?

Is there a way in Vim to do the following: let S = '[''123'', ''456'', ''789'']' let L = parseStringToList(S) " L is a list containing the string '123', '456', and '789'
0
votes
2answers
202 views

Operate on a visual selection by looping through the lines

I'm looking for an approach, in Vimscript, to operate on the text lines of a buffer by looping through lines of a visual selection. Specifically, my goal is very simple: I have a (vertical) list of ...
1
vote
1answer
32 views

Get literal character from printable character

Is it possible to convert a character from printable to literal? (like "<c-o>" to "\<c-o>", or "<F1>" to "\<F1>"), other than by using a dicionary with all special characters. ...
3
votes
1answer
82 views

Parsing a valid normal-mode command (possibly with regex)? (for Vim-like Word add-in)

I am writing a VBA routine so I can use normal-mode commands in Microsoft Word. (Yes, I am! Edit And here you go!) I am only going to support the d, c, and y operators initially, and only char/word/...