@@ -0,0 +1,993 @@
+package org.grobid.core.test;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotNull;%0A%0Aimport java.util.List;%0Aimport java.util.regex.Matcher;%0Aimport java.util.regex.Pattern;%0A%0Aimport org.grobid.core.document.TEIFormater;%0Aimport org.junit.AfterClass;%0Aimport org.junit.Before;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0A/**%0A *  @author Patrice Lopez%0A */%0Apublic class TEIFormaterTest %7B%0A%0A    //@Test%0A    public void testRegex() %7B%0A%09%09Pattern localNumberRefCompact =%0A%09%09            Pattern.compile(%22(%5C%5C%5B%7C%5C%5C()(%5C%5Cd)+(%5C%5Cw)?(%5C%5C-%5C%5Cd+%5C%5Cw?)?((,%5C%5Cs?)(%5C%5Cd)+(%5C%5Cw)?(%5C%5C-%5C%5Cd+%5C%5Cw?)?)s*(%5C%5C)%7C%5C%5C%5D)%22);%0A%09%09System.out.println(localNumberRefCompact.pattern());%0A%09%09String text = %22All selected (2000, 2100, 2900, 2902, 2908, 2909, 4300, 8200, 8900, 8902, 9720, 9730, 9780, 9790, 9900,17100,17202,17230,17231,17232, 17239,17290,17292,17293,17320,17330, 17360,17390,17901, 80000%22;%0A%09%09Matcher m = localNumberRefCompact.matcher(text);%0A%09%09m.find();%0A%09%09System.out.println(%22Done%22);%0A    %7D%0A%0A%7D

Test for issue #65