mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
440 B
21 lines
440 B
5 years ago
|
## It's a match
|
||
|
|
||
|
### Instruction
|
||
|
|
||
|
Create 4 regular expression in variables:
|
||
|
|
||
|
- `normal` matches with the expression 'hi'.
|
||
|
|
||
|
- `begin` matches with the expression 'hi',
|
||
|
only when it is in the beginning.
|
||
|
|
||
|
- `end` matches with the expression 'hi',
|
||
|
only when it is in the end.
|
||
|
|
||
|
- `beginEnd` matches with the expression 'hi',
|
||
|
only when it is in the beginning and the end.
|
||
|
|
||
|
|
||
|
### Notions
|
||
|
|
||
|
- https://github.com/ziishaned/learn-regex#28-anchors
|