From dev-return-5507-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Aug 04 14:15:21 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 81980 invoked from network); 4 Aug 2009 14:15:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Aug 2009 14:15:20 -0000 Received: (qmail 14509 invoked by uid 500); 4 Aug 2009 14:15:25 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 14431 invoked by uid 500); 4 Aug 2009 14:15:25 -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 Delivered-To: moderator for dev@couchdb.apache.org Received: (qmail 11497 invoked by uid 99); 4 Aug 2009 14:13:56 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-Id: From: Adam Kocoloski To: dev@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: [jira] Updated: (COUCHDB-245) Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead. Date: Tue, 4 Aug 2009 10:13:19 -0400 References: <1679304423.1249321275500.JavaMail.jira@brutus> <76A7FE58-8FDB-4F8A-9CC0-FB308750EA46@apache.org> <20090803195011.GR2567@3oh1.uhds.oregonstate.edu> X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org I believe re.erl changes rapidly from 12B-3 to 12B-5. I haven't compared 12B-5 and 13B. Adam On Aug 4, 2009, at 7:15 AM, Paul Davis wrote: > It pops in around 3 I think. Pretty sure we require 12B-0 and that > doesn't have it. > > I looked once and judged from documentation we'd have to bump a couple > minor revisions in our Erlang dependency. > > Paul > > On Mon, Aug 3, 2009 at 3:50 PM, Gordon Stratton > wrote: >> Are we talking about its inclusion or whether it is stable in R12B? >> Here >> is my Debian Lenny system with stock erlang (R12B-3): >> >> -- >> >> Erlang (BEAM) emulator version 5.6.3 [source] [64-bit] [smp:4] >> [async-threads:0] [kernel-poll:false] >> >> Eshell V5.6.3 (abort with ^G) >> 1> Foo = "Hello World! 122.42". >> "Hello World! 122.42" >> 2> re:compile("[0-9].[0-9]"). >> {ok,{re_pattern,0,0, >> <<69,82,67,80,122,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, >> ...>>}} >> 3> >> >> -- >> >> In the readme[1] for the version I'm running, OTP-7181 indicates it >> is >> introduced (experimentally at least?) in that version. >> >> [1] http://www.erlang.org/download/otp_src_R12B-3.readme >> >> Adam Kocoloski wrote: >>> Wow, I didn't realize re.erl was only really available in R13B. I >>> figured for new code I ought to not be using the regexp module, >>> but this >>> gives me pause. >>> >>> Adam >>> >>> On Aug 3, 2009, at 3:29 PM, Damien Katz wrote: >>> >>>> Switching from regexp to re mean we can't support Erlang R12, but >>>> I'm >>>> not sure if we do right now anyway. >>>> >>>> -Damien >>>> >>>> On Aug 3, 2009, at 1:41 PM, Jan Lehnardt (JIRA) wrote: >>>> >>>>> >>>>> [ >>>>> https://issues.apache.org/jira/browse/COUCHDB-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >>>>> ] >>>>> >>>>> Jan Lehnardt updated COUCHDB-245: >>>>> --------------------------------- >>>>> >>>>> Priority: Blocker (was: Minor) >>>>> >>>>>> 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 >>>>>> Priority: Blocker >>>>>> Fix For: 0.10 >>>>>> >>>>>> Attachments: couch_mochi_re_patch, couch_re_patch, >>>>>> couch_re_patch_2 >>>>>> >>>>>> 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. >>>>> >>>> >>