fynefyne.io/fyne/data/validation Index | Files

package validation

import "fyne.io/fyne/data/validation"

Package validation provides validation for data inside widgets

Index

Functions

func NewRegexp

func NewRegexp(regexpstr, reason string) fyne.StringValidator

NewRegexp creates a new validator that uses regular expression parsing. The validator will return nil if valid, otherwise returns an error with a reason text.

Source Files

regexp.go

Version
v1.4.0-rc1
Published
Oct 27, 2020
Platform
windows/amd64
Imports
3 packages
Last checked
16 minutes ago

Tools for package owners.