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.
22 lines
488 B
22 lines
488 B
5 years ago
|
## Its A Match
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
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
|
||
|
|
||
|
- [github.com/ziishaned/learn-regex#28-anchors](https://github.com/ziishaned/learn-regex#28-anchors)
|