The search will be perform, in an insensitive case way ( If you need a sensitive search, just use the syntax (?s-i) ) ) special character matches, absolutely, any single character ( standard or EOL ) The syntax (?si), at beginning of the regex, are modifiers which ensures that : So, instead, you could use the regex (?si)(Word1)(?=.*?(Word2))|(?2)(?=.*?(?1)), which searches for, either, the words Word1 OR Word2, in an insensitive case way, if they are followed, further on, by the second specific word ![]() However when the general case where the two words Word1 and Word2 are located in different lines, a search, with the Find in Files dialog, does NOT display, in the Find Result panel, all the lines of the block, beginning with Word1 and ending with Word2 ( or the opposite ) but ONLY the first line of each multi-lines block.
0 Comments
Leave a Reply. |