segmentio/xml-parser — pull request #2 by sukima (2014-08-25 20:21:30+00:00)
Title: Multi-line comment support

The comment Regexp was not capturing comments that spanned more than one line (includes a `\n` in them). Using the `[\s\S]` pattern it will span over `\n` as if they were part of the comment pattern.

This PR includes a test case.

Example
~~~~~~~

```xml

foobar

```