我有一个字符串:
<?xml version="1.0" encoding="utf-8"?>
<data>
<url>
<![CDATA[http://site.ru/uploadImage?returnUrl=http%3A%2F%2Fwww.site.ru%2Fdk%3Fcmd%3DgrPostImageUploaded%26amp%3Btkn%3D3089&returnErrorUrl=http%3A%2F%2Fwww.site.ru%2Fdk%3Fcmd%3DgrPostImageUploaded%26amp%3Btkn%3D3916&flashLoad=on&photoId=]]>
</url>
<tokens>
<token>
<!CDATA[258xA2Z4KDWBBRo%2FBbZBLZqw%2F1adFyhFOsWKJTidWIgxfIJ8RWZYdpIsOJ3U6RevDsRBR7gKeG2V29evBOFXUaqTg%3D%3D]]>
</token>
</tokens>
<maxImageSize>
1024
</maxImageSize>
</data>
我尝试token><![CDATA[(.*)]]
用代码解析
string token = Regex.Match(upload_info, @"CDATA[(.*)]]></token").Groups[1].Value;
但是令牌是空的。为什么?