Tweaks to regular expression for matching emphasis

The current regex skips over the first terminating single-underscore emphasis leading to emphasis not being terminated before another asterix or underscore is reached. The proposed solution is adapted from Gruber's Markdown implementation.