Refactoring for some regexp
Fix examples for code-block option