There's a strict bold pattern matched first, then a non-strict applied afterwards. Can you explain why? (I'm considering writing tests for this.)
It makes sense to have multiple passes when you convert the string to HTML and some non-strict bold emphasis is left over in the end, but in this case it is probably redundant. I don't know for sure, though, until I tinkered with this some more.
There's a strict bold pattern matched first, then a non-strict applied afterwards. Can you explain why? (I'm considering writing tests for this.)
It makes sense to have multiple passes when you convert the string to HTML and some non-strict bold emphasis is left over in the end, but in this case it is probably redundant. I don't know for sure, though, until I tinkered with this some more.