Comment code-translation regex and move another

Add comments to code-translation regex ahead of development of
leads/lags code.

Move regex from markdown module into extract() function.