Closed suntong closed 6 years ago
Hi there,
Please take a look at the code https://gist.github.com/suntong/7eed1480ce3e7f508b4d728547696a33
Here is what happens when I run it:
$ go run /tmp/picv.go ERR! unexpected end after 36
I found that it all comes down to the "$" sign at https://gist.github.com/suntong/7eed1480ce3e7f508b4d728547696a33#file-picv-go-L21
removing it and the program works fine.
Looks like a bug, is it? Thx
dft:".*\\.jpg$" should be changed to dft:".*\\.jpg$$" because $ is a special character!
dft:".*\\.jpg$"
dft:".*\\.jpg$$"
$
Gotya. thx.
Hi there,
Please take a look at the code https://gist.github.com/suntong/7eed1480ce3e7f508b4d728547696a33
Here is what happens when I run it:
I found that it all comes down to the "$" sign at https://gist.github.com/suntong/7eed1480ce3e7f508b4d728547696a33#file-picv-go-L21
removing it and the program works fine.
Looks like a bug, is it? Thx