comparison runtime/doc/pi_logipat.txt @ 19099:1a951a4beee3

Update runtime files. Commit: https://github.com/vim/vim/commit/2963456ff2b740244b3a064785fe681b1998d75e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 9 21:46:04 2020 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Jan 2020 22:00:05 +0100
parents 70ce979e76bc
children 9b7f90e56753
comparison
equal deleted inserted replaced
19098:254834ce268e 19099:1a951a4beee3
1 *pi_logipat.txt* Logical Patterns Jun 22, 2015 1 *pi_logipat.txt* Logical Patterns May 01, 2019
2 2
3 Author: Charles E. Campbell <NdrOchip@ScampbellPfamily.AbizM> 3 Author: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
4 Copyright: (c) 2004-2015 by Charles E. Campbell *logiPat-copyright* 4 Copyright: (c) 2004-2016 by Charles E. Campbell *logiPat-copyright*
5 The VIM LICENSE applies to LogiPat.vim and LogiPat.txt 5 The VIM LICENSE applies to LogiPat.vim and LogiPat.txt
6 (see |copyright|) except use "LogiPat" instead of "Vim" 6 (see |copyright|) except use "LogiPat" instead of "Vim"
7 No warranty, express or implied. Use At-Your-Own-Risk. 7 No warranty, express or implied. Use At-Your-Own-Risk.
8 8
9 ============================================================================== 9 ==============================================================================
26 | = logical-or 26 | = logical-or
27 & = logical-and 27 & = logical-and
28 grouping ( ... ) 28 grouping ( ... )
29 patterns "pattern" 29 patterns "pattern"
30 30
31 *logiPat-cmd*
31 :LogiPat {boolean-logic pattern} *:LogiPat* 32 :LogiPat {boolean-logic pattern} *:LogiPat*
32 :LogiPat is a command which takes a boolean-logic 33 :LogiPat is a command which takes a boolean-logic
33 argument (|logiPat-arg|). 34 argument (|logiPat-arg|).
34 35
35 :LP {boolean-logic pattern} *:LP* 36 :LP {boolean-logic pattern} *:LP*
36 :LP is a shorthand command version of :LogiPat 37 :LP is a shorthand command version of :LogiPat
38 (|logiPat-cmd|).
37 39
38 :LPE {boolean-logic pattern} *:LPE* 40 :LPE {boolean-logic pattern} *:LPE*
39 No search is done, but the conversion from the 41 No search is done, but the conversion from the
40 boolean logic pattern to the regular expression 42 boolean logic pattern to the regular expression
41 is performed and echoed onto the display. 43 is performed and echoed onto the display.
67 > 69 >
68 :LogiPat "abc" 70 :LogiPat "abc"
69 < will search for lines containing the string :abc: 71 < will search for lines containing the string :abc:
70 > 72 >
71 :LogiPat "ab""cd" 73 :LogiPat "ab""cd"
72 < will search for lines containing the string :ab"c: 74 < will search for lines containing the string :ab"cd:
73 > 75 >
74 :LogiPat !"abc" 76 :LogiPat !"abc"
75 < will search for lines which don't contain the string :abc: 77 < will search for lines which don't contain the string :abc:
76 > 78 >
77 :LogiPat "abc"|"def" 79 :LogiPat "abc"|"def"
115 v2 May 31, 2005 * LPF and LogiPatFlags commands weren't working 117 v2 May 31, 2005 * LPF and LogiPatFlags commands weren't working
116 v1 May 23, 2005 * initial release 118 v1 May 23, 2005 * initial release
117 119
118 120
119 ============================================================================== 121 ==============================================================================
120 vim:tw=78:ts=8:noet:ft=help 122 vim:tw=78:ts=8:ft=help