Regex: corrects translation errors and simplify some
This corrects regex translation (from js to QRegularExpression) errors and also simplify some regex.
-
Some regular expressions were broken due to translation errors and some functionality was lost because of this. These are now fixed. The most visible fixed feature is emebeded HTML tags, they will now be correctly captured and rendered.
-
Some regular expressions related to actions in the text toolbar have been simplified/changed in hopes of using them as a replacement for the current way text toolbar actions are handled.
-
The indented code block was removed because it was inferior to the "fenced" code block and was annoying to deal with for other regular expressions.