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

regexp Operator (Examples)

2015년 1월 23일 오후 10:53

These examples make use of the Days of the Week tiddler.

[!is[system]regexp[Wiki]]
→ non-system tiddlers with Wiki in their title

[!is[system]regexp[(?i)Wiki]]
→ non-system tiddlers with Wiki in their title, ignoring case

[!is[system]regexp[Wiki(?i)]]
→ same again

[regexp[(?i)\.jpe?g$]]
→ tiddlers with titles ending in .jpg or .jpeg, ignoring case

[regexp:created[^201408]]
→ tiddlers created in August 2014

The regular expression [0-9]{2} matches two consecutive digits. Because it contains square brackets, the way to use it with the regexp operator is via a variable, as follows:

<$set name="digit-pattern" value="[0-9]{2}">
<<list-links "[regexp:title<digit-pattern>]" field:"title">>
</$set>

That renders as: