From 94229947477a8e221d79a5e75d522aef1b2d116d Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sun, 25 Oct 2020 18:28:50 -0500 Subject: [PATCH] Step by step guide: Improve 'any way' regex --- www/contribute/producing-an-ebook-step-by-step.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/contribute/producing-an-ebook-step-by-step.php b/www/contribute/producing-an-ebook-step-by-step.php index e28f8b68..4b553b2b 100644 --- a/www/contribute/producing-an-ebook-step-by-step.php +++ b/www/contribute/producing-an-ebook-step-by-step.php @@ -293,7 +293,7 @@ proceed to seal up my confession, I bring the life of that unhappy Henry Jekyll se interactive-sr "/\v([Ee])very thing/\1verything/" src/epub/text/* git commit -am "[Editorial] every thing -> everything" se interactive-sr "/\v(<[Aa])ny thing/\1nything/" src/epub/text/* git commit -am "[Editorial] any thing -> anything" se interactive-sr "/\v([Ff])or ever(>)/\1orever\2/" src/epub/text/* git commit -am "[Editorial] for ever -> forever" - se interactive-sr "/\v(in\s+)@<\!(<[Aa])ny way/\2nyway/" src/epub/text/* git commit -am "[Editorial] any way -> anyway" + se interactive-sr "/\v(in\s+)@<\!(<[Aa])ny way(\s+(of|to))@\!/\2nyway/" src/epub/text/* git commit -am "[Editorial] any way -> anyway" se interactive-sr "/\v([Yy])our self/\1ourself/" src/epub/text/* git commit -am "[Editorial] your self -> yourself" se interactive-sr "/\v([Mm])ean time/\1eantime/" src/epub/text/* git commit -am "[Editorial] mean time -> meantime" se interactive-sr "/\v([Aa])ny how/\1nyhow/" src/epub/text/* git commit -am "[Editorial] any how -> anyhow"