We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
1- ^ asserts position at start of the string
2- 1st Capturing Group ([aeiou])
3- .* matches any character (except newline) - between zero and unlimited times, as many times as possible, giving back as needed (greedy)
4- \1 matches the same text as most recently matched by the 1st capturing group
5- $ asserts position at the end of the string
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 7: Regular Expressions I
You are viewing a single comment's thread. Return to all comments →
1- ^ asserts position at start of the string
2- 1st Capturing Group ([aeiou])
3- .* matches any character (except newline) - between zero and unlimited times, as many times as possible, giving back as needed (greedy)
4- \1 matches the same text as most recently matched by the 1st capturing group
5- $ asserts position at the end of the string