R*D*M* should match empty string or a string of 8 spaces. or any combination of characters. It should be impossible not to match.
Edit: Fix HN oddity
Edit: Fix HN oddity
% python3
>>> import re
>>> re.search(r'R*D*M*', ' ')
<re.Match object; span=(0, 0), match=''>
>>> re.fullmatch(r'R*D*M*', ' ')
>>>