1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-26 15:23:15 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/examples/prefix.tid
Ben Webber 95bd694a65
Support case insensitive matching in prefix/suffix operators (#6468)
* Support case insensitive matching in prefix/suffix operators

Support `caseinsensitive`/`caseinsensitive` suffixes in the following
filter operators:

  * prefix
  * suffix
  * removeprefix
  * removesuffix

The suffixes have the same behaviour as in the match operator.

Closes: #6407

* Do not filter titles if suffix/removesuffix operand is empty

Issue: #6407
2022-02-22 16:38:40 +00:00

11 lines
393 B
Plaintext

created: 20150123223129000
modified: 20220218023400000
tags: [[prefix Operator]] [[Operator Examples]]
title: prefix Operator (Examples)
type: text/vnd.tiddlywiki
<<.operator-example 1 "[tag[task]!prefix[Go]]">>
<<.operator-example 2 "[tag[task]!prefix:caseinsensitive[go]]">>
<<.operator-example 3 "[prefix[$:/languages/]]">>
<<.operator-example 4 "[prefix[$:/]]" "same as `[is[system]]`">>