HomePhorge

(#7004) Correctly form singular for indirections ending in 'es'
94e986336655Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#7004) Correctly form singular for indirections ending in 'es'

This got broken when the status indirection was added around
d1f1858ea52d3089fd2088994e80d6f49d7e0347.

The problem is that the regex matching is greedy so any indirection
ending in e (and pluralized in 'es') will lose its trailing 'e'.

Since all this was done for the status indirection, my fix is to
treat differently this indirection only, instead of trying to fix
the general case (and breaking it).

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>

Details

Provenance
Brice Figureau <brice-puppet@daysofwonder.com>Authored on
Patrick Carlisle <patrick@puppetlabs.com>Committed on Dec 5 2011, 11:37 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU8012a7bbe4bc: Merge pull request #124 from daniel-pittman/bug/2.7.x/7991-and-4549…
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPU94e986336655: (#7004) Correctly form singular for indirections ending in 'es' (authored by Brice Figureau <brice-puppet@daysofwonder.com>).Dec 5 2011, 11:37 PM