incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
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 Mon, 03 Aug 2009 19:51:15 GMT
re.erl is in R12B-5:

http://erlang.org/documentation/doc-5.6.5/lib/stdlib-1.15.5/doc/html/re.html

Cheers
Jan
--

On 3 Aug 2009, at 21:40, 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.
>>>
>>
>


Mime
View raw message