static public function unescape($value)
    {
        if (strpos($value, '#') === false)
            return $value;

        return preg_replace_callback('/#[a-fA-F\d]{2}/', function($matches) {
            return chr(hexdec($matches[0]));
        }, $value);
    }