Skip to content

Commit

Permalink
regexp: Match, remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
mcuadros committed May 5, 2020
1 parent 3302cab commit b40dc80
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,6 @@ func getCapture(b []byte, beg int, end int) []byte {
}

func (re *Regexp) match(b []byte, n int, offset int) bool {
if n == 0 {
return true
}

if n == 0 {
b = []byte{0}
}
Expand Down

0 comments on commit b40dc80

Please sign in to comment.