3 ms·
> Should be seriously mentored by someone. Maybe people who think a basic regex such as this is difficult, need some mentoring. It doesn't even use lookahead/
by megous 6y ago
> Should be seriously mentored by someone.
Maybe people who think a basic regex such as this is difficult, need some mentoring.
It doesn't even use lookahead/lookbehind or other more complicated features. It only uses non-greedy matching 2 times, which is the only thing that's more complicated than the basic AND/OR logic expressed by the rest of the expression.