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<[email protected]> 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.




Reply via email to