make regex a bit more friendly with spaces