MySQL RLIKE and REGEXP operator performs a pattern match of a string expression against a pattern. The pattern is supplied as an argument.
If the pattern finds a match in the expression, the function returns 1, else it returns 0.
If either expression or pattern is NULL, the function returns NULL.
RLIKE과 REGEXP는 원하는 패턴을 충족하는 문자열을 찾아 일치하는 문자열을 찾아주는 연산자이다.
RLIKE pattern
str REGEXP pattern
RLIKE 패턴
문자열식 REGEXP pattern
https://velog.io/@heeky/HackerRankMySQL-Weather-Observation-Station-6-12