mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 11:59:58 +00:00
Add from-version banner to search-replace operator "m" flag
This commit is contained in:
parent
c13f04d838
commit
33be326ef6
@ -1,6 +1,6 @@
|
||||
caption: search-replace
|
||||
created: 20201107111139011
|
||||
modified: 20201107122008854
|
||||
modified: 20210829174535854
|
||||
op-input: a [[selection of titles|Title Selection]]
|
||||
op-output: the input titles with the search string replaced with the replacement string
|
||||
op-parameter: the <<.op search-replace>> operator requires 2 parameters, see below for details
|
||||
@ -18,7 +18,7 @@ The <<.op search-replace>> operator uses an extended syntax that allows for mult
|
||||
[search-replace:<flag list>:<regexp-mode>[<search-term>],[<replacement>]]
|
||||
```
|
||||
|
||||
* ''flag-list'': ''g'' for global mode to replace all matches, ''i'' for case-insensitive mode, ''m'' for multiline mode, "gim" for all. (optional)
|
||||
* ''flag-list'': ''g'' for global mode to replace all matches, ''i'' for case-insensitive mode, <<.from-version "5.2.0">> ''m'' for multiline mode, "gim" for all. (optional)
|
||||
* ''regexp-mode'': ''regexp'' to treat the first parameter as a regular expression (optional).
|
||||
* ''search-term'': string or regular expression that should be replaced
|
||||
* ''replacement'': string that should replace the search-term
|
||||
|
Loading…
Reference in New Issue
Block a user