Some refactoring for friendly printing (easier to add new ones). Added friendly printing for RegExp.
Some refactoring for friendly printing (easier to add new ones). Added friendly printing for RegExp.

operasoftware/dragonfly,operasoftware/dragonfly,operasoftware/dragonfly,operasoftware/dragonfly