1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 18:53:28 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/examples/suffix.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

10 lines
312 B
Plaintext

created: 20150124113652000
modified: 20220218023400000
tags: [[suffix Operator]] [[Operator Examples]]
title: suffix Operator (Examples)
type: text/vnd.tiddlywiki
<<.operator-example 1 "[suffix[.jpg]]">>
<<.operator-example 2 "[suffix:caseinsensitive[.JPG]]">>
<<.operator-example 3 "[tag[task]!suffix[ing]]">>