With this publication, I can search for words containing combinations of all vowel letters.
regular expression:
(?=\w*a)(?=\w*e)(?=\w*i)(?=\w*o)(?=\w*u)\w+
corresponds to an example:
abstemious
education
reputation
facetious
Then I modify the following vim expression as a
regular expression:
\(\ze\w\{-}a\)\(\ze\w\{-}e\)\(\ze\w\{-}i\)\(\ze\w\{-}o\)\(\ze\w\{-}u\)\w\+
changes
( to \(
?= to \ze
* to \{-}
+ to \+
But now it matches only serial occurrences, for example
abstemious
facetious
not education,reputation
Where did I miss?
vusan source
share