From d6e01950bf76e6ac14b640d9f108b188f0b0a645 Mon Sep 17 00:00:00 2001 From: Shreyas Minocha Date: Sat, 9 May 2020 17:01:26 +0530 Subject: [PATCH] =?UTF-8?q?Replace=20`=C3=97`=20with=20`=3D`=20in=20Groups?= =?UTF-8?q?=20example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves #24 --- chapters/groups.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chapters/groups.mdx b/chapters/groups.mdx index 11a1cfc..0358ab8 100644 --- a/chapters/groups.mdx +++ b/chapters/groups.mdx @@ -59,10 +59,10 @@ Backreferences allow referring to _previously captured substrings_. The match from the first group would be `\1`, that from the second would be `\2`, and so on… - -
  • a×a×a
  • -
  • ab×b×b
  • -
  • a×b×c
  • + +
  • a=a=a
  • +
  • ab=b=b
  • +
  • a=b=c
  • Backreferences _cannot_ be used to reduce duplication in regexes. They refer to _the match_ of groups, not the pattern.