Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-245

Couch uses the erlang stdlib module regexp, which is deprecated and set to be removed. It should use the module re instead.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.7.2, 0.8, 0.8.1, 0.9
    • 0.10
    • Infrastructure
    • None
    • regexp is set to be removed from stdlib when R15 is released.

    Description

      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.

      Attachments

        1. couch_re_patch_2
          9 kB
          Gordon Stratton
        2. couch_re_patch
          8 kB
          Kim Shrier
        3. couch_mochi_re_patch
          1 kB
          Kim Shrier

        Activity

          People

            kocolosk Adam Kocoloski
            alisdair alisdair sullivan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified