Changeset 1893 for trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml
- Timestamp:
- 05/25/09 18:04:44 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/String2XmlSerializer.cs
r1853 r1893 19 19 } 20 20 21 private static Regex re = new Regex(@"<!\[CDATA\[((?:[^]]|\](?!\]>))*)\]\]>", RegexOptions.Singleline); 22 21 23 public override string Parse(XmlString x) { 22 24 StringBuilder sb = new StringBuilder(); 23 Regex re = new Regex(@"<!\[CDATA\[((?:[^]]|\](?!\]>))*)\]\]>", RegexOptions.Singleline);24 25 foreach (Match m in re.Matches(x.Data)) { 25 26 sb.Append(m.Groups[1]);
Note: See TracChangeset
for help on using the changeset viewer.