markdown
markdown copied to clipboard
code quality: use named groups in RegExp
I had totally missed that Dart RegExp supports named groups. We should use these in parsing, as it is mind-melting to try to keep the indices of nested groups in order, especially on the list item patterns.