From f8be3e7418e9c64545b7e9483268bb5f9722bbc3 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 2 Nov 2021 11:23:03 +0800 Subject: [PATCH] doc: \ in `` `` should not be escaped Vim syntax has an error with this. [skip ci] --- docs/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.rst b/docs/usage.rst index bcaea7d..ef471c0 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -217,7 +217,7 @@ If both ``prefix`` and ``from_pattern``/``to_pattern`` are used, and then do something special, just use ``from_pattern``/``to_pattern``. For example, the transformation of ``v1_1_0`` => ``1.1.0`` can be achieved with ``from_pattern = 'v(\d+)_(\d+)_(\d+)'`` and ``to_pattern = '\1.\2.\3'``. -(Note that in TOML it's easiler to write regexes in single quotes so you don't need to escape ``\\``.) +(Note that in TOML it's easiler to write regexes in single quotes so you don't need to escape ``\``.) .. _list options: