couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alisdair sullivan (JIRA)" <j...@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.
Date Wed, 11 Feb 2009 17:41:02 GMT

    [ 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.


Mime
View raw message