mirror of
https://github.com/ziishaned/learn-regex.git
synced 2025-08-23 11:56:10 -04:00
Make section 4 titles singular
This commit is contained in:
parent
41e1eefca7
commit
f7e4c53376
16
README.md
16
README.md
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user