in reply to Re^2: Creating new character classes for foreign languages
in thread Creating new character classes for foreign languages
Is it possible to define a double-character property?No.
You are, after all, defining a character class. A character class almost always1 matches exactly one character, never taking context into account.
How might I handle this?Define a rule, not a character class. Out of curiousity, which 'r' in 'rr' is the vowel? First one, second one, or both?
1The only exception I can think of are cases with case insensitive matching, where the Unicode definition defines that the "other case" of a character is a multi character sequence.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Creating new character classes for foreign languages
by Polyglot (Chaplain) on May 17, 2009 at 10:32 UTC | |
by graff (Chancellor) on May 17, 2009 at 15:47 UTC | |
by Polyglot (Chaplain) on May 17, 2009 at 16:14 UTC | |
by salva (Canon) on May 17, 2009 at 11:53 UTC |