Skip to content

Commit

Permalink
NAS-2642: Changed the extraction back again
Browse files Browse the repository at this point in the history
  • Loading branch information
Knud Åge Hansen committed Sep 27, 2017
1 parent 6e8a88e commit 7a954e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ void deleteFromFrontier(String regex) {
void listFrontier(String regex, long limit) {
//style = 'overflow: auto; word-wrap: normal; white-space: pre; width:1200px; height:500px'
//htmlOut.println '<pre style="' + style +'">'
String pageNo= regex.substring(0, regex.indexOf("|"));
page = Long.parseLong(pageNo)
String[] pageAndRegex = regex.split("|")
page = Long.parseLong(pageAndRegex[0])
regex = regex.replaceFirst(regex.substring(regex.indexOf("|")+1), "")

pattern = ~regex
Expand Down

0 comments on commit 7a954e1

Please sign in to comment.