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
JAL-3855 refactor the pAE retrieval code so it can be called via structureselectionma...
[jalview.git]
/
src
/
com
/
stevesoft
/
pat
/
RegexTokenizer.java
diff --git
a/src/com/stevesoft/pat/RegexTokenizer.java
b/src/com/stevesoft/pat/RegexTokenizer.java
index
c99bfea
..
424e99f
100755
(executable)
--- a/
src/com/stevesoft/pat/RegexTokenizer.java
+++ b/
src/com/stevesoft/pat/RegexTokenizer.java
@@
-49,8
+49,8
@@
public class RegexTokenizer implements Enumeration
if (r.substring() != null)
{
v.addElement(r.substring(i + offset));
if (r.substring() != null)
{
v.addElement(r.substring(i + offset));
- vi.addElement(Integer.valueOf(r.matchFrom(i + offset)
- + r.charsMatched(i + offset)));
+ vi.addElement(Integer.valueOf(
+ r.matchFrom(i + offset) + r.charsMatched(i + offset)));
}
}
pos = r.matchFrom() + r.charsMatched();
}
}
pos = r.matchFrom() + r.charsMatched();