Re: How to match single wild character in Foxtrot Query? [message #1436 is a reply to message #1432] |
Tue, 10 May 2022 10:14   |
FoxTrot Engineering
Messages: 417 Registered: April 2020
|
Senior Member |
|
|
FoxTrot searches whole words (groups of adjacent letter, number and symbol characters). You can use wildcards (leading or trailing *) to search any whole word matching a pattern, instead of a single whole word. You can't use wildcards to search characters that are not part of a word (punctuation, spaces etc), nor to find a sequence of whole words (however, you can use wildcards inside a quoted string, or when using [includes consecutive words]).
Thus, we could enhance the wildcard syntax to some extent, but that would not allow to do what you request here.
For example, if we implement * inside a word (in addition to leading and trailing), then [multi*polar] would find [multipolar] or [multiantipolar], but it would not find [multi-polar] nor [multi polar], because those are not full words, but sequences of full words. Same thing if we implement a single-character (or single-or-no-character) wildcard like your suggested ?.
Jérôme - FoxTrot Engineering
[Updated on: Tue, 10 May 2022 10:15] Report message to a moderator
|
|
|