MartinThoma / ics-parser

Automatically exported from code.google.com/p/ics-parser
48 stars 28 forks source link

Fix multiline-description #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, me and my boss found the solution for that problem.
You write the wrongregular expression to  keyValueFromString and that maked the 
problem.
You need to replace this:

preg_match("/([^:]+)[:]([\w\W]*)/", $text, $matches);

To that:

preg_match("/^([A-Z\-]+)\:(.*)$/", $text, $matches);

Original issue reported on code.google.com by abel.zol...@reverseproject.hu on 23 Jul 2013 at 2:38

olilesp commented 3 months ago

This solution didn't work for me..