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? : %WHATDOESITAFFECT%

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: 23 Feb 2012, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads