Fixed code intents.
Switched to lazy regex for bold and italics.