The following code prints true. It should return false shouldn't it?
package main
import "regexp"
import "fmt"
func main() {
res, _ := regexp.MatchString("[a-z][0-9a-zA-Z_$]*", "%s")
fmt.Println(res)
}
The following code prints true. It should return false shouldn't it?
package main
import "regexp"
import "fmt"
func main() {
res, _ := regexp.MatchString("[a-z][0-9a-zA-Z_$]*", "%s")
fmt.Println(res)
}