Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 58409 invoked from network); 11 Feb 2009 17:41:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 17:41:24 -0000 Received: (qmail 82728 invoked by uid 500); 11 Feb 2009 17:41:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 82397 invoked by uid 500); 11 Feb 2009 17:41:23 -0000 Mailing-List: contact dev-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 dev@couchdb.apache.org Received: (qmail 82385 invoked by uid 99); 11 Feb 2009 17:41:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 09:41:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 17:41:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2DC5B234C48B for ; Wed, 11 Feb 2009 09:41:02 -0800 (PST) Message-ID: <1126342810.1234374062173.JavaMail.jira@brutus> Date: Wed, 11 Feb 2009 09:41:02 -0800 (PST) From: "alisdair sullivan (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-245) Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead. In-Reply-To: <611341680.1234325460277.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672692#action_12672692 ] alisdair sullivan commented on COUCHDB-245: ------------------------------------------- The use of regexp in mochiweb is just in the app skeleton, as far as I can tell it's not actually used anywhere by couch. It doesn't hurt to report it upstream though. I'd thought couch was targetting R12B-5 and above, but if it needs to run on previous versions, we should provide a module that wraps re and regexp and uses the appropriate module on the appropriate runtime version. > Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead. > --------------------------------------------------------------------------------------------------------------------------- > > Key: COUCHDB-245 > URL: https://issues.apache.org/jira/browse/COUCHDB-245 > Project: CouchDB > Issue Type: Bug > Components: Infrastructure > Affects Versions: 0.7.2, 0.8, 0.8.1, 0.9 > Environment: regexp is set to be removed from stdlib when R15 is released. > Reporter: alisdair sullivan > Attachments: couch_mochi_re_patch, couch_re_patch > > Original Estimate: 2h > Remaining Estimate: 2h > > Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead. re is not a drop in replacement for regexp, it operates on and returns binary strings instead of native strings. > Affects files couch_config.erl, couch_config_writer.erl, couch_httpd.erl, couch_httpd_server.erl, couch_log.erl and couch_server.erl. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.