Added data-defid to word_regex

Fixed "Failed to parse word" error