Details
-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: Graffiti v1.00
-
Fix Version/s: Sustaining
-
Component/s: None
-
Labels:None
Description
Tag strings validation requires a tag term start to be number or letter, while in reality it can be any one of the valid characters like "middle dots", hyphens etc.
Text.java needs to be modified:
/**
- Characters that are valid at the start of an term... basically just letters.
*/
public static final String TERM_START_CHARACTERS = "[
p {Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Mn}\\p{Mc}
p{Nd}]";
/**
* Characters that are valid after the first part of an term. Basically letters or numbers.
*/
public static final String TERM_PART_CHARACTERS = "[
p{Lu}
{Ll}
p
{Lt}
p
{Lm}
p
{Lo}
p
{Mn}
p
{Mc}
p
{Nd}
p]";
/**
- Characters that can be used to separate parts of an term.
*/
public static final String TERM_PART_SEPARATOR_CHARACTERS = "[\\\\/\\|'_.\\-\\u00B7\\u30FB
p {Zs}]";