RegExp is optimized for typing, not for reading.
Trouble comes when one need to update or debug a complex RegExp. The one you posted is not that complex.
Trouble comes when one need to update or debug a complex RegExp. The one you posted is not that complex.