sirthias/pegdown — Issue #35: Disappearing backslash
Author: etorreborre
Created: 2011-10-18 22:20:17+00:00
State: open

When transforming some text to Markdown I observed that backslashes were disappearing:

def processor = new PegDownProcessor(ALL & ~QUOTES & ~SMARTS)
processor.markdownToText("hello\\ world")

=>

hello world

// instead of

hello\ world

I had the same issue earlier with specs2 when using "regex".r.replaceAllIn(someString, groupMatches) so maybe that's something you're using internally somewhere?