cljs.reader cannot handle character classes beginning with slashes in regex literals

Description

cljs.user> (cljs.reader/read-string "#\"\\s\"")
Compilation error: Error: Unexpected unicode escape \s

Environment

None

Activity

Show:
import
June 20, 2014, 4:03 PM

Comment made by: amadeoh

This in particular means that (cljs.reader/read-string (str [#"\s"])) won't work

Francis Avila
June 25, 2014, 5:46 PM

Patch and test.

Completed

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Priority

Critical