이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

regexp Operator

2015년 2월 3일 오후 7:06
purposefilter the input by pattern-matched field
inputa selection of titles
suffixF=the name of a field, defaulting to title
parameterX=a regular expression
outputthose input tiddlers in which field F matches X
! outputthose input tiddlers in which field F does not match X

Learn more about how to use Filters

Regular expressions are concise strings of characters that denote patterns of text to search for. The format used in TiddlyWiki is fully defined in this Mozilla reference.

The filter syntax makes it impossible to directly specify a regular expression that contains square brackets. The solution is to store the expression in a variable. See the examples.

The parameter X can optionally start or end with a string of flags:

(?mig)

Only the i flag is generally useful: it forces the different between capital and lowercase letters to be ignored.

If X is empty, regexp will match all of the input tiddlers.

Examples