mirror of
https://github.com/dholerobin/Lecture_Notes.git
synced 2025-07-01 13:06:29 +00:00
Update Regex_pending.md
This commit is contained in:
parent
8fafd4f9de
commit
9eca14ac85
@ -273,7 +273,7 @@ Predict the output of the following regex:
|
||||
|
||||
**Note:** Now you may be thinking, what if we want to match characters like ***, ?, +, {, },** etc in the text. We will look at it shortly. Keep reading!
|
||||
|
||||
## Word Boundary Matchers
|
||||
## Boundary Matchers
|
||||
|
||||
Now, we will learn how to match pattern at specific positions, like before, after or between some characters. For this purpose we use special characters like `^`,`$`,`\b & \B`,`\A`,`\z & \Z`, which are known as anchors.
|
||||
|
||||
@ -319,7 +319,7 @@ Example using both `^` and `$`:
|
||||
|
||||
|
||||
|
||||
**Note:** **`\A` and `\z & \Z` are another anchors which are used to match at very start of input text and at very end of input text respectively. But it is not supported in Javascript.
|
||||
**Note:** `\A` and `\z & \Z` are another anchors which are used to match at very start of input text and at very end of input text respectively. But it is not supported in Javascript.
|
||||
|
||||
Predict the output of the following regex:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user