Fixes dm.sh
Created by: gbasood
The -r flag for sed specifies that sed should use extended regexp Also changed the pattern a bit so that map names with caps or numbers will fit the pattern (doesn't mean you should name your map stupid shit)
Fixes #3331 (closed)