Corrected bug in dot-expansion regex