Feature Proposal: We need support in my company for two letter ACRONYMS

Motivation

Two letter abbreviations are sufficiently common in general for this to be a useful config option.

Description and Documentation

Add a config option to reduce abbreviations to 2 characters. I've tried ControlWikiWordPlugin, but there is incomplete support there

See also NumbersAsUpperCase which impacts similar areas of code.

It's easy enough to hack the supplied regexes to implement it locally. It just needs extra work to make this a config option and eliminate ongoing hackery on each upgrade.

Examples

Impact

%WHATDOESITAFFECT%
edit

Implementation

-- Contributors: JulianLevens - 07 Dec 2010

Discussion

Doesn't look like it would be difficult to parameterize the Acronym length.

    $regex{abbrevRegex}         = qr/[$regex{upperAlpha}]{3,}s?\b/o;

-- GeorgeClark - 23 Feb 2012
Topic revision: r5 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy