Fix output in the console Regexp object.

Output in the console Regexp object looks weird: {}.