wildcards: (function)

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

wildcards: (function)

Post by therube »

wildcards: (function, "search modifier")

Code: Select all

wildcards: search modifier syntax:
	*	Matches any character zero or more times.
	?	Matches any single character.
	#	Matches any single digit (0-9).
	[ ]	Matches any one of the characters specified in the set.
	[! ]	Matches any one character that is not specified in the set.
	\	Escape the following character.


Could someone tell explain to me how that works?

Oh, it's because PATH was enabled.
(Which affects something like, wildcards:[456].)
So I'd have to disable PATH or nopath:.


And I'll note that wildcards: does not "highlight" (the found search item).
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: wildcards: (function)

Post by void »

The wildcards: syntax is similar to the wildcards used in Visual Studio.

It is designed to be used with content:

For example:

wildcards:content:[abc]##*



It can be used by itself to match filenames.

For example:

wildcards:[abc]##*



Highlighting support is on my TODO list.



Please take note that \ is used as the escape character.
Use \\ to escape a single literal \ for matching paths.
\* might be useful for matching a literal * in file content.
Post Reply