! Copyright (C) 2008, 2009 Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators.short-circuit kernel locals namespaces sbufs
+USING: combinators.short-circuit kernel namespaces sbufs
sequences splitting unicode.categories unicode.data ;
QUALIFIED: ascii
IN: unicode.case
: fix-sigma-end ( string -- string )
[ "" ] [
dup last CHAR: greek-small-letter-sigma =
- [ 1 head* CHAR: greek-small-letter-final-sigma suffix ] when
+ [ but-last CHAR: greek-small-letter-final-sigma suffix ] when
] if-empty ; inline
! this duplicate unicode to prevent dependencies