byutrg / baseterm

BaseTerm is an open-source and free to use terminology management system built with the primary goal of natively supporting the most popular TBX dialect for exchange, TBX-Basic.
Eclipse Public License 1.0
11 stars 1 forks source link

(CARICOM) Bug #27

Closed byutrg closed 7 years ago

byutrg commented 8 years ago

Originally reported by: James Hayes (Bitbucket: nonyaSerdo, GitHub: Unknown)


This bug is caused by illegal '(' and ')' characters in the term ID.


byutrg commented 8 years ago

Original comment by James Hayes (Bitbucket: nonyaSerdo, GitHub: Unknown):


Used broad regex /[^\w]/g. Should fix the problem.

Fixed in 9320695

byutrg commented 8 years ago

Original comment by James Hayes (Bitbucket: nonyaSerdo, GitHub: Unknown):


Names with "." don't edit either. A more robust solution is needed.

byutrg commented 8 years ago

Original comment by James Hayes (Bitbucket: nonyaSerdo, GitHub: Unknown):


Fixed in c08bf5e by replacing with '~' and also replacing \s with '~' as a preventative measure.