Closed pmishka closed 7 years ago
Halo,
thank you! Integrated into source code.
D
2017-03-29 16:25 GMT+02:00 pmishka notifications@github.com:
Hello! here is a small bug when you try to get script content. If script contains \r\n - regex doesn't work thinking that script source is multiline. Here is my fix: public ApiSentence(IEnumerable words) { Regex keyValueRegex = new Regex("^=?(?[^=]+)=(?.)$", RegexOptions.Singleline*); foreach(string word in words) { ... } }
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/danikf/tik4net/issues/17, or mute the thread https://github.com/notifications/unsubscribe-auth/ANIZGl1R5kRMzMf1KgTfIGMhXLR-mvLuks5rqmnDgaJpZM4MtDrm .
Hello! here is a small bug when you try to get script content. If script contains \r\n - regex doesn't work thinking that script source is multiline. Here is my fix: public ApiSentence(IEnumerable words)
{
Regex keyValueRegex = new Regex("^=?(?[^=]+)=(?.*)$", RegexOptions.Singleline);
foreach(string word in words)
{
...
}
}