func BenchmarkContinuousDotStarEmpty(b *testing.B) {
	lhsPrefix, rhsPrefix := "", ""
	dotStar := ".*"
	for i := 1; i <= 15; i++ {
		lhsPrefix = lhsPrefix + dotStar
		rhsPrefix = rhsPrefix + dotStar

		lhs, rhs := lhsPrefix+"c", rhsPrefix+"d"

		b.Run(fmt.Sprintf("with-%d-stars", i), func(b *testing.B) {
			_, err := NonEmpty(lhs, rhs)
			if err != nil {
				b.Error(err)
			}
		})
	}
}
// BenchmarkContinuousDotStarEmpty benchmarks two globs made solely of .*
// except for the mismatch at the end.
BenchmarkContinuousDotStarEmpty benchmarks two globs made solely of .
except for the mismatch at the end.
// BenchmarkContinuousDotStarEmpty benchmarks two globs made solely of . * // except for the mismatch at the end .
func BenchmarkContinuousDotStarEmpty(b *testing.B) {
	lhsPrefix, rhsPrefix := "", ""
	dotStar := ".*"
	for i := 1; i <= 15; i++ {
		lhsPrefix = lhsPrefix + dotStar
		rhsPrefix = rhsPrefix + dotStar
		lhs, rhs := lhsPrefix+"c", rhsPrefix+"d"
		b.Run(fmt.Sprintf("with-%d-stars", i), func(b *testing.B) {
			_, err := NonEmpty(lhs, rhs)
			if err != nil {
				b.Error(err)
			}
		})
	}
}
func BenchmarkContinuousDotStarEmpty ( b * testing . B ) { lhsPrefix , rhsPrefix := " " , " " dotStar := " " for i := 1 ; i <= 15 ; i ++ { lhsPrefix = lhsPrefix + dotStar rhsPrefix = rhsPrefix + dotStar lhs , rhs := lhsPrefix + " " , rhsPrefix + " " b . Run ( fmt . Sprintf ( " " , i ) , func ( b * testing . B ) { _ , err := NonEmpty ( lhs , rhs ) if err != nil { b . Error ( err ) } } ) } }
BenchmarkContinuousDotStarEmpty benchmarks two globs made solely of .
BenchmarkContinuousDotStarEmpty benchmarks two globs made solely of .