Fix RegExp problem