Fixed wrong regex

Closes dandelion/issues#152