package validation
import "fyne.io/fyne/v2/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.
Since: 1.4
Source Files ¶
regexp.go
- Version
- v2.0.3-rc2
- Published
- Apr 28, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 23 seconds ago –
Tools for package owners.