genex: github.com/alixaxel/genex Index | Files

package genex

import "github.com/alixaxel/genex"

Index

Package Files

count.go generate.go

func Count Uses

func Count(input, charset *syntax.Regexp, infinite int) float64

Count computes the total number of matches the `input` regex would generate after whitelisting `charset`. The `infinite` argument caps the maximum boundary of repetition operators.

func Generate Uses

func Generate(input, charset *syntax.Regexp, infinite int, callback func(string))

Generate yields all the strings that match the `input` regex after whitelisting `charset`. The `infinite` argument caps the maximum boundary of repetition operators.

Package genex imports 2 packages (graph). Updated 2019-07-10. Refresh now. Tools for package owners.