moved code pattern to inline group.

Code blocks are now correctly detected when part of a list. It's a small change but it was really annoying me when clode blocks in lists would be uncolored.