Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
  • go
  • src
  • strings
  • replace.go
Find file BlameHistoryPermalink
  • Francesco Renzi's avatar
    strings: document that order of pairs matters in NewReplacer · 80cca23b
    Francesco Renzi authored Jul 09, 2019
    Update NewReplacer documentation to specify that in the case of
    multiple matches at the same position, the matching old/new
    pair that appears first in NewReplacer arguments takes precedence.
    
    Fixes #32699
    
    Change-Id: I9d0616d28e5cd8c9bfa301be201f2b0ebf361dff
    Reviewed-on: https://go-review.googlesource.com/c/go/+/185099
    
    
    Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
    Reviewed-by: default avatarRob Pike <r@golang.org>
    80cca23b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7