You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: regexp_test.go
    path of file: ./repos/fyne/data/validation
    
    the code of the file until where you have to start completion: package validation_test

import (
	"testing"

	"fyne.io/fyne/v2/data/validation"

	"github.com/stretchr/testify/assert"
)

func TestValidator_Regexp(t *testing.T) {
	r := validation.NewRegexp(``, "Input is not valid")

	assert.NoError(t, r("nothi
    
func TestValidator_Regexp(t *testing.T) {
	r := validation.NewRegexp(``, "Input is not valid")

	assert.NoError(t, r("nothing")) // Nothing to validate with, same as no validator.

	r = validation.NewRegexp(`^\d{2}-\w{4}$`, "Input is not valid")

	assert.NoError(t, r("10-fyne"))
	assert.EqualError(t, r("100-fynedesk"), "Input is not valid")
}