couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: storing regex in json
Date Fri, 18 Jan 2013 23:09:58 GMT

On Jan 18, 2013, at 2:57 PM, Mark Hahn <mark@hahnca.com> wrote:

> Have you tried \\ instead of \ ?

+1. When quoting text for JavaScript or JSON, you have to escape any backslashes in the text.

—Jens
Mime
View raw message