From 1a33e9b5b719c6a10ac2b5a37baaae560b0cd4cf Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Tue, 13 Oct 2020 00:15:41 -0400 Subject: Implement \U, \L, \u, and \l case transformations in regex replacements. --- docs/manual.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'docs') 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. -- cgit v1.2.3