Skip to content

Commit

Permalink
Mention the global flag in Basics
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasminocha committed May 1, 2020
1 parent 10c9c59 commit 62fbe03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/basics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Basics

Regular expressions are typically formatted as `/<rules>/<flags>`. Often people will drop the slashes and flags for brevity. We'll get into the details of flags in [a later chapter](/chapters/flags).

Let's start with the regex `/p/g`.
Let's start with the regex `/p/g`. For now, please take the [`g` flag](/chapters/flags#global-g) for granted.

<Example regex={/p/g}>
<li>pancake</li>
Expand Down

1 comment on commit 62fbe03

@vercel
Copy link

@vercel vercel bot commented on 62fbe03 May 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please # to comment.