d4l3k / go-pry

An interactive REPL for Go that allows you to drop into your code at any point.

Home Page:https://gopry.rice.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

assignment count mismatch:

meetme2meat opened this issue · comments

running the following code result in assignment count mismatch

go-pry -i="fmt,regexp"
From /var/folders/gb/c5q_qjf50j78rnl3cf3b9t7r0000gn/T/pry459719250/main.go @ line 9 :

     4:
     5:   "fmt"
     6:   "regexp"
     7: )
     8: func main() {
 =>  9:   pry.Pry()
    10: }

[11] go-pry> regExpr,err := regexp.Compile("(\\d{4}_\\d{2}_\\d{2}).*\\.txt")
Error:  assignment count mismatch: 2 = 1 <nil>

Thanks for reporting this! I should have a fix in place shortly.