Fix code sections regexp is too greedy