Fixed regex to support the whitespace control modifier

Fix for #101