Optimized RegExp of glMatrix's Vec