bad wording - "replace by"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: docs
    • beta2
    • generic
    • generic



      Name: bsC130419 Date: 07/13/2001


      1.4beta documentation

      Sorry for the pickiness of this wording bug report, but this is a
      too-frequent error, and shows that the author wasn't paying attention
      to English.

      (Actually, I might even be able to make the argument that the
      bad usage makes the sentence harder to follow and therefore makes
      the documentation less clear and possibly harder to understand.)


      The class description for java.util.regex.Matcher says:

        "... replacing matched subsequences by new strings..."

      That "by" should be "with".


      You can say "A is replaced _by_ B" because that "by" is part of
      the passive-voice form of "B replaces A."

      You CANNOT say "It replaces A by B." That has to be "It replaces A
      _with_ B."


      DSB/DFI
      (Review ID: 128082)
      ======================================================================

            Assignee:
            Jamie Ho (Inactive)
            Reporter:
            Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: