Make section 4 titles singular

This commit is contained in:
Tom McAndrew 2020-03-10 17:17:18 +00:00 committed by GitHub
parent 41e1eefca7
commit f7e4c53376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,10 +77,10 @@ letter and also it is too short.
- [The Dollar Sign](#282-the-dollar-sign) - [The Dollar Sign](#282-the-dollar-sign)
- [Shorthand Character Sets](#3-shorthand-character-sets) - [Shorthand Character Sets](#3-shorthand-character-sets)
- [Lookarounds](#4-lookarounds) - [Lookarounds](#4-lookarounds)
- [Positive Lookaheads](#41-positive-lookaheads) - [Positive Lookahead](#41-positive-lookahead)
- [Negative Lookaheads](#42-negative-lookaheads) - [Negative Lookahead](#42-negative-lookahead)
- [Positive Lookbehinds](#43-positive-lookbehinds) - [Positive Lookbehind](#43-positive-lookbehind)
- [Negative Lookbehinds](#44-negative-lookbehinds) - [Negative Lookbehind](#44-negative-lookbehind)
- [Flags](#5-flags) - [Flags](#5-flags)
- [Case Insensitive](#51-case-insensitive) - [Case Insensitive](#51-case-insensitive)
- [Global Search](#52-global-search) - [Global Search](#52-global-search)
@ -435,7 +435,7 @@ expressions:
|?<=|Positive Lookbehind| |?<=|Positive Lookbehind|
|?<!|Negative Lookbehind| |?<!|Negative Lookbehind|
### 4.1 Positive Lookaheads ### 4.1 Positive Lookahead
The positive lookahead asserts that the first part of the expression must be The positive lookahead asserts that the first part of the expression must be
followed by the lookahead expression. The returned match only contains the text followed by the lookahead expression. The returned match only contains the text
@ -454,7 +454,7 @@ or `the` only if it's followed by the word `fat`.
[Test the regular expression](https://regex101.com/r/IDDARt/1) [Test the regular expression](https://regex101.com/r/IDDARt/1)
### 4.2 Negative Lookaheads ### 4.2 Negative Lookahead
Negative lookaheads are used when we need to get all matches from an input string Negative lookaheads are used when we need to get all matches from an input string
that are not followed by a certain pattern. A negative lookahead is written the same way as a that are not followed by a certain pattern. A negative lookahead is written the same way as a
@ -469,7 +469,7 @@ from the input string that are not followed by a space character and the word `f
[Test the regular expression](https://regex101.com/r/V32Npg/1) [Test the regular expression](https://regex101.com/r/V32Npg/1)
### 4.3 Positive Lookbehinds ### 4.3 Positive Lookbehind
Positive lookbehinds are used to get all the matches that are preceded by a Positive lookbehinds are used to get all the matches that are preceded by a
specific pattern. Positive lookbehinds are written `(?<=...)`. For example, the specific pattern. Positive lookbehinds are written `(?<=...)`. For example, the
@ -482,7 +482,7 @@ from the input string that come after the word `The` or `the`.
[Test the regular expression](https://regex101.com/r/avH165/1) [Test the regular expression](https://regex101.com/r/avH165/1)
### 4.4 Negative Lookbehinds ### 4.4 Negative Lookbehind
Negative lookbehinds are used to get all the matches that are not preceded by a Negative lookbehinds are used to get all the matches that are not preceded by a
specific pattern. Negative lookbehinds are written `(?<!...)`. For example, the specific pattern. Negative lookbehinds are written `(?<!...)`. For example, the