fix regexp problem #141