How to write a placeholder for letters in a search, filter or regexp

60 views
Skip to first unread message

Surya

unread,
Oct 17, 2019, 10:04:22 PM10/17/19
to TiddlyWiki
Hi,

I just don't remember anymore the englisch word for it or the word, which is used in TW for that- so I don't know, what to ask google for (I tried a lot of searches with placeholder, filter, regexp, and so. But didn't find, what I am looking for.

I want to build a filter with a word with a letter-placeholder at the beginning or the end. So that the filter finds "fo", but also "foo" and "fold" and " "a folded".

Can you please help?
Thanks!
Surya

Michael Wiktowy

unread,
Oct 17, 2019, 11:45:56 PM10/17/19
to TiddlyWiki
Wildcard? With regular expressions, it is the dot "." to match a single character and a dot+star ".*" to match zero or more characters.

Here is a good regexp reference site (that I likely read about on this forum).


I hope that is what you were looking for.

/Mike

Sycom

unread,
Oct 18, 2019, 12:37:57 AM10/18/19
to TiddlyWiki
Hi

What you're talking about could be the prefix (and suffix) operators in filters.
https://tiddlywiki.com/#prefix%20Operator

Best wishes

Sylvain
@sycom

Surya

unread,
Oct 19, 2019, 11:02:29 PM10/19/19
to TiddlyWiki
Hi Michael and Sycom,

yes, that was it, what I have been looking for- wildcard!
(Not the prefix & suffix).

Thanks for helping!
Surya
Reply all
Reply to author
Forward
0 new messages