Test, validate and match regular expressions
Matches lines of tab-separated text, capturing the content before the tab and after it into two separate groups, with each match terminated by a newline. The global flag finds every such line in the input, making it well suited for parsing TSV word lists, glossaries, or dictionary entries such as a word paired with its definition or translation. Lines lacking a tab or a trailing newline are skipped.