Quoting "Ruben Safir", who wrote on 2019-06-11 at 23:30 Uhr -0400:
>> formatlistpat=^\v\s*(((\a|\d{,4})[]:.)}/-])+|[-\*.·→+])\s+
>can you expound on this?
It's my regular expression to capture all the different ways I might use to
enumerate lists.
What do you mean by "expound"?
Using ExplainPattern?
Pattern: ^\v\s*(((\a|\d{,4})[]:.)}/-])+|[-\*.·→+])\s+
Magic Pattern: ^\s*\(\(\(\a\|\d\{,4}\)[]:.)}/-]\)\+\|[-\*.·→+]\)\s\+
^ (assertion) require match at start of line
\s whitespace character: <Space> and <Tab>
* (multi) zero or more of the preceding atom
\( start of first capturing group
| \( start of second capturing group
| | \( start of third capturing group
| | | \a alphabetic character: [A-Za-z]
| | | \| OR (separate alternatives)
| | | \d digit: [0-9]
| | | \{,4} (multi) N to M, greedy
| | \) end of group
| | []:.)}/-] collection
| \) end of group
| \+ (multi) one or more of the preceding atom
| \| OR (separate alternatives)
| [-\*.·→+] collection
\) end of group
\s whitespace character: <Space> and <Tab>
\+ (multi) one or more of the preceding atom
--
@martinkrafft | https://riot.im/app/#/room/#madduck:madduck.net
"the surest way to corrupt a youth is to instruct him to hold in
higher esteem those who think alike than those who think
differently."
-- friedrich nietzsche
spamtraps: madduck.bogus@madduck.net
--
--
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/20190612123454.GA20241%40fishbowl.rw.madduck.net.
For more options, visit https://groups.google.com/d/optout.
Wednesday, June 12, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment