Skip to content

Commit

Permalink
removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
asbisen committed Apr 10, 2019
1 parent 8867dd9 commit 4bfb230
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/preprocessing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -300,25 +300,6 @@ function prepare!(d::AbstractDocument, flags::UInt32; skip_patterns = Set{Abstra
nothing
end

#function remove_patterns(s::AbstractString, rex::Regex)
# iob = IOBuffer()
# ibegin = 1
# v=codeunits(s)
# for m in eachmatch(rex, s)
# len = m.match.offset-ibegin+1
# next = nextind(s, lastindex(m.match)+m.match.offset)
# if len > 0
# Base.write_sub(iob, v, ibegin, len)
# if next != length(s)+1
# write(iob, ' ')
# end
# end
# ibegin = next
# end
# len = length(v) - ibegin + 1
# (len > 0) && Base.write_sub(iob, v, ibegin, len)
# String(take!(iob))
#end

"""
remove_whitespace(s::AbstractString)
Expand Down

0 comments on commit 4bfb230

Please sign in to comment.