Supported regexp.
Fixed some style.
Supported namespace.