Skip to content

Fix BaseParsers ws parser to not match newlines.#1733

Merged
farmdawgnation merged 1 commit into
masterfrom
markdown-vertical-tabs
Nov 25, 2015
Merged

Fix BaseParsers ws parser to not match newlines.#1733
farmdawgnation merged 1 commit into
masterfrom
markdown-vertical-tabs

Conversation

@Shadowfiend
Copy link
Copy Markdown
Member

In lift-markdown, BaseParsers was using a regex containing \v to indicate a
vertical tab. As of Java 8, \v refers to a character class that contains all
vertical whitespace, including newlines. We now explicitly use the unicode
value for vertical tab in the regex, fixing the failing test in Java 8 and
generally making things work as expected.

See initial report from @farmdawgnation .

In lift-markdown, BaseParsers was using a regex containing `\v` to indicate a
vertical tab. As of Java 8, `\v` refers to a character class that contains all
vertical whitespace, including newlines. We now explicitly use the unicode
value for vertical tab in the regex, fixing the failing test in Java 8 and
generally making things work as expected.
@farmdawgnation
Copy link
Copy Markdown
Member

👍

farmdawgnation added a commit that referenced this pull request Nov 25, 2015
Fix BaseParsers ws parser to not match newlines.
@farmdawgnation farmdawgnation merged commit 01c8d2b into master Nov 25, 2015
@farmdawgnation farmdawgnation deleted the markdown-vertical-tabs branch November 25, 2015 02:13
@fmpwizard fmpwizard added this to the 3.0-M8 milestone Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants