On 11/18/2012 05:26 PM, David Kastrup wrote:
At the current point of time, the rule is that "alphabetic" is a-z,
A-Z, and _any_ non-ASCII character.  This is a bit excessive, but
short of a reliable "is a letter" test, this was easiest to
implement.

Getting off-topic for -user, but... Most programming languages that can process Unicode text have class tests that should simplify letter-ness. (The superscript characters ¹²³ etc. do not have this property.) Guile has the char-alphabetic? predicate; see <URL: https://www.gnu.org/software/guile/manual/html_node/Characters.html >, at least as of 2.0.

~Chris
--
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
 “Always remember where you came from, and honor your ancestry,
  But don’t be afraid to defy anyone who would tell you what to be.”
      — Chris Vaughan, “Freedom”
GnuPG fingerprint: DB08 CF6C 2583 7F55 3BE9  A210 4A51 DBAC 5C5C 3D5E

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to