From d9320b7c052f1beebb1e59a0891a92ee66bd3599 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Thu, 31 Oct 2019 11:20:50 -0700 Subject: [PATCH] Update README.md Add example for appending an extension to files that do not have an extension --- src/modules/powerrename/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/powerrename/README.md b/src/modules/powerrename/README.md index ff990d7288..b56d9296d9 100644 --- a/src/modules/powerrename/README.md +++ b/src/modules/powerrename/README.md @@ -76,6 +76,7 @@ Matching and variable examples: | (.\*).png | foo\_$1.png | Prepends "foo\_" to the existing file name | | (.\*).png | $1\_foo.png | Appends "\_foo" to the existing file name | | (.\*) | $1.txt | Appends ".txt" extension to existing file name | +| (^\w+\.$)\|(^\w+$) | $2.txt | Appends ".txt" extension to existing file name only if it does not have an extension | ### External Help