changing regex usage