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.
[] this block used to execute each character from a given string. so [aeiou] will manipulate each char and match with the result string.^ is used for negation in MySQL. '[^aeiou]$' will match with the ending letter of a string and '^[^aeiou]' will match with the starting letter of a string. It is actually a special regex in ruby, MySQL. [abc] will search for a,b,c characters. [^abc] will do the exact opposite,it search for all characters except a,b,c.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 10
You are viewing a single comment's thread. Return to all comments →
[] this block used to execute each character from a given string. so [aeiou] will manipulate each char and match with the result string.^ is used for negation in MySQL. '[^aeiou]$' will match with the ending letter of a string and '^[^aeiou]' will match with the starting letter of a string. It is actually a special regex in ruby, MySQL. [abc] will search for a,b,c characters. [^abc] will do the exact opposite,it search for all characters except a,b,c.