import static jalview.util.UrlConstants.EMBLEBI_STRING;
import static jalview.util.UrlConstants.OLD_EMBLEBI_STRING;
import static jalview.util.UrlConstants.SEQUENCE_ID;
+import static jalview.util.UrlConstants.SEQUENCE_NAME;
import static jalview.util.UrlConstants.SRS_STRING;
import jalview.analysis.AnnotationSorter.SequenceAnnotationOrder;
String url = st.nextToken();
// check for '|' within a regex
int rxstart = url.indexOf("$" + SEQUENCE_ID + "$");
+ if (rxstart == -1)
+ {
+ rxstart = url.indexOf("$" + SEQUENCE_NAME + "$");
+ }
while (rxstart == -1 && url.indexOf("/=$") == -1)
{
url = url + "|" + st.nextToken();