Added format documentation, added regexp for given values and sets.