On Thu, Mar 28, 2013 at 5:15 PM, Mark Engelberg <mark.engelb...@gmail.com>wrote:

> On Thu, Mar 28, 2013 at 5:08 PM, Mark Engelberg 
> <mark.engelb...@gmail.com>wrote:
>
>> However, the first and last example print as:
>> #"a
>> b"
>>
>
> Follow up question:
> Is there any way to make (re-pattern "a\nb") print as #"a\nb"?
>
> I've tried pr, print-dup, and various combinations of printing the outputs
> of those under with-out-str, but no luck yet.  Any ideas?
>

With a Clojure 1.5.1 REPL I see this:

user=> *print-readably*
true
user=> (pr #"a\nb")
#"a\nb"nil

Andy

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to