Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M millennials-to-snake-people
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Byte Blaze
  • millennials-to-snake-people
  • Merge requests
  • !28

It's all about The Great Ape-Snake War

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/forresthopkinsa/patch-1 into master Jan 15, 2019
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: forresthopkinsa

Made a few changes to the Great Ape-Snake War replacement:

  1. Added "The" to the replacement: "The Great Ape-Snake War" (this makes more sense in almost any context)
    • However, it won't double "the" if there already is one; "The Great Ape-Snake War" will still be replaced with "The Great Ape-Snake War"
  2. Made this particular replacement case-insensitive because there are too many feasible combinations of case for these words
  3. Added allowance for "Great Ape-Snake War Movement" (before it could only match "Great Ape-Snake War" or "Great Ape-Snake War"
  4. Added allowance for abbreviating "Street" to "St." (or "St")
    • For this to work, I had to replace the word boundary at the end (\b) with a negative lookahead ((?!\w)), or else it wouldn't be able to match the period in "St."
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/forresthopkinsa/patch-1