package main

import "regexp"
import "strings"

func main() {
    regexp.MustCompile(`a.*b`).MatchString(strings.Repeat("a", 10000000))
}