git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved to: https://sites.google.com/site/cmzmasek/home/software/forester
[jalview.git]
/
forester
/
java
/
src
/
org
/
forester
/
io
/
parsers
/
phyloxml
/
PhyloXmlUtil.java
diff --git
a/forester/java/src/org/forester/io/parsers/phyloxml/PhyloXmlUtil.java
b/forester/java/src/org/forester/io/parsers/phyloxml/PhyloXmlUtil.java
index
9ccfdf9
..
f7aa962
100644
(file)
--- a/
forester/java/src/org/forester/io/parsers/phyloxml/PhyloXmlUtil.java
+++ b/
forester/java/src/org/forester/io/parsers/phyloxml/PhyloXmlUtil.java
@@
-21,7
+21,7
@@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
//
// Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
package org.forester.io.parsers.phyloxml;
package org.forester.io.parsers.phyloxml;
@@
-31,13
+31,14
@@
import java.util.List;
import java.util.Set;
import java.util.regex.Pattern;
import java.util.Set;
import java.util.regex.Pattern;
+import org.forester.io.parsers.util.ParserUtils;
+
public final class PhyloXmlUtil {
public static final String OTHER = "other";
public static final String UNKNOWN = "unknown";
public final static Pattern SEQUENCE_SYMBOL_PATTERN = Pattern.compile( "\\S{1,20}" );
public final class PhyloXmlUtil {
public static final String OTHER = "other";
public static final String UNKNOWN = "unknown";
public final static Pattern SEQUENCE_SYMBOL_PATTERN = Pattern.compile( "\\S{1,20}" );
- public final static Pattern TAXOMONY_CODE_PATTERN = Pattern
- .compile( "[a-zA-Z0-9_]{1,10}" );
+ public final static Pattern TAXOMONY_CODE_PATTERN = ParserUtils.TAXOMONY_CODE_PATTERN_1;
public final static Pattern LIT_REF_DOI_PATTERN = Pattern
.compile( "[a-zA-Z0-9_\\.]+\\S+" );
public final static Set<String> SEQUENCE_TYPES = new HashSet<String>();
public final static Pattern LIT_REF_DOI_PATTERN = Pattern
.compile( "[a-zA-Z0-9_\\.]+\\S+" );
public final static Set<String> SEQUENCE_TYPES = new HashSet<String>();