Add from-version banner to search-replace operator "m" flag

sort-optimisations
jeremy@jermolene.com 2021-08-29 17:45:59 +01:00
rodzic c13f04d838
commit 33be326ef6
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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