diff options
author | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2020-10-13 00:15:41 -0400 |
---|---|---|
committer | mitchell <70453897+orbitalquark@users.noreply.github.com> | 2020-10-13 00:15:41 -0400 |
commit | 1a33e9b5b719c6a10ac2b5a37baaae560b0cd4cf (patch) | |
tree | 043cd2cf5e4369c371218e3880018fea478731d7 /docs | |
parent | f65a88be1c179f1a29ddf1e8483b14167ce94e06 (diff) |
Implement \U, \L, \u, and \l case transformations in regex replacements.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual.md | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/manual.md b/docs/manual.md index 1efe9acc..1f1f4da4 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -527,9 +527,15 @@ While the pane is open in the GUI, the following key bindings apply: * Perform "Find Next" and "Find Prev" in the "Find" entry via `Enter` and `Shift+Enter`, respectively. * Perform "Replace" and "Replace All" in the "Replace" entry via `Enter` and - `Shift+Enter`, respectively. When the "Regex" find option is enabled, `\`*`n`* - in the "Replace" entry represents the *n*th captured matching region's text, - and `\0` represents all matched text. + `Shift+Enter`, respectively. When the "Regex" find option is enabled, + + + `\`*`n`* in the "Replace" entry represents the *n*th captured matching + region's text, and `\0` represents all matched text. + + `\U` and `\L` converts everything up to the next `\L`, `\U`, or `\E` to + uppercase and lowercase, respectively. (`\E` turns off conversion.) + + `\u` and `\l` converts the next character to uppercase and lowercase, + respectively. These may appear within `\U` and `\L` constructs. + * For at least the English locale, toggle the find options using their button mnemonics: `Alt+M`, `Alt+W`, `Alt+X`, `Alt+I` on Windows, Linux, and BSD, and `⌘M`, `⌘W`, `⌘X`, and `⌘I`, respectively, on macOS. |