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:
Francis Avila
June 25, 2014, 5:46 PM

Patch and test.

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

Completed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

import

Labels