Fixed regex for custom tags.