Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 923D011B18 for ; Fri, 1 Aug 2014 14:34:22 +0000 (UTC) Received: (qmail 21054 invoked by uid 500); 1 Aug 2014 14:34:22 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 20894 invoked by uid 500); 1 Aug 2014 14:34:22 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 20772 invoked by uid 99); 1 Aug 2014 14:34:22 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2014 14:34:22 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 22E3A9BD3B0; Fri, 1 Aug 2014 14:34:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rnewson@apache.org To: commits@couchdb.apache.org Date: Fri, 01 Aug 2014 14:34:24 -0000 Message-Id: <52ae0915cd4b47e7b8c6de56e2a4d5ca@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [03/49] fabric commit: updated refs/heads/windsor-merge to b1c0030 Use the dollar_endonly option to prevent newlines BugzID: 24203 Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/503fc0f4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/503fc0f4 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/503fc0f4 Branch: refs/heads/windsor-merge Commit: 503fc0f4d058d9a648d32cad4f3b657f79b1b78e Parents: 455afa7 Author: Adam Kocoloski Authored: Wed Oct 16 13:56:35 2013 -0400 Committer: Robert Newson Committed: Fri Aug 1 15:33:40 2014 +0100 ---------------------------------------------------------------------- src/fabric_db_create.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/503fc0f4/src/fabric_db_create.erl ---------------------------------------------------------------------- diff --git a/src/fabric_db_create.erl b/src/fabric_db_create.erl index c8f2d45..5a8334f 100644 --- a/src/fabric_db_create.erl +++ b/src/fabric_db_create.erl @@ -42,7 +42,7 @@ validate_dbname(DbName, Options) -> false -> ok; true -> - case re:run(DbName, ?DBNAME_REGEX, [{capture,none}]) of + case re:run(DbName, ?DBNAME_REGEX, [{capture,none}, dollar_endonly]) of match -> ok; nomatch when DbName =:= <<"_users">> ->