mirror of https://github.com/01-edu/public.git
462 B
462 B
Same Amount
Instructions
Create a function named sameAmount
, that takes three arguments: a string
, and 2 regular expressions. Your function should return a boolean
.
The objective is to confirm that the regular expressions match the string the same number of times.