people will understand the power of regular expression by seeing this, it's really amazing, but i don't think this will be encouraged to be in used in production...
i solved it in javascript and i don't think the description is very clear, author can explain a little bit more about the question so the solver can understand it better rather than looking at example solutions and getting confused.
This comment is hidden because it contains spoiler information about the solution
people will understand the power of regular expression by seeing this, it's really amazing, but i don't think this will be encouraged to be in used in production...
i solved it in javascript and i don't think the description is very clear, author can explain a little bit more about the question so the solver can understand it better rather than looking at example solutions and getting confused.
i just realized that people will see the code in a way i never would have thought.