Item14432: SPACEOUT does some weird stuff with acronyms

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: CrawfordCurrie
Waiting For:
Last Change By: CrawfordCurrie
Since Item11671, SPACEOUT does some really stupid things with pluralised acronyms.
  • AAAAARGHs is spaced out as AAAAARG Hs
The regex used is /[:upper:][:upper:][:lower:]/ which is way too generic.

-- Main.CrawfordCurrie - 12 Jul 2017 - 08:52

The last regex in SPACEOUT should be replaced with:
    $word =~ s/(^|[^[:upper:]])([[:upper:]])([[:upper:]])([[:lower:]])/$1$2$mark$3$4/g;

-- Main.CrawfordCurrie - 12 Jul 2017 - 11:50

If you find it unusable in it's current form (like me) then you can install the latest SpacedWikiWordPlugin

-- Main.CrawfordCurrie - 12 Jul 2017 - 14:49

 

ItemTemplate edit

Summary SPACEOUT does some weird stuff with acronyms
ReportedBy CrawfordCurrie
Codebase
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 12 Jul 2017, CrawfordCurrie
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