added small regex samples in scala