From a88e6cbfedf3261a330d7eb940546318aee5bfff Mon Sep 17 00:00:00 2001 From: Shreyas Minocha Date: Sat, 2 May 2020 04:03:13 +0530 Subject: [PATCH] Add cases for advanced example "Meta" --- chapters/advanced-examples.mdx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/chapters/advanced-examples.mdx b/chapters/advanced-examples.mdx index 26d0eb2..bd8b9e4 100644 --- a/chapters/advanced-examples.mdx +++ b/chapters/advanced-examples.mdx @@ -40,10 +40,15 @@ title: Advanced Examples ## Meta /gm}> -
  • .
  • -
  • <Example source="\s+$" flags="gm">
  • +
  • {''}
  • +
  • {''}
  • +
  • {``}
  • +
  • {""}
  • +
  • {""}
  • +**Replace**: `` + ## Floating point numbers - optional sign @@ -68,7 +73,7 @@ title: Advanced Examples
  • .
  • -The positive lookahead `(?=\.\d|\d)` ensures that `.` does not match. +The positive lookahead `(?=\.\d|\d)` ensures that the regex does not match `.`. ## HSL colours