Skip to content

Commit

Permalink
get(::PositiveLookbehind) fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gkappler committed Aug 4, 2020
1 parent 52d3983 commit 4bd7a5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/get.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ function Base.get(t::PositiveLookbehind,
str, till,
after, i, state)
rseq = revert(str)
i_ = reverse_index(rseq,prevind(rseq,i))
after_ = nextind(rseq,i_,t.parser,state)
get(t.parser, rseq, till,
after,
reverse_index(rseq,prevind(rseq,i)),
state)
after_, i_, state)
end


Expand Down

0 comments on commit 4bd7a5d

Please sign in to comment.