big improvements suggested by Mike McCourt
fix slash plague related regexp bug