Quantcast

String doesn't match .*

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

String doesn't match .*

Dierk König
Hi,

I tried a regex contraint and go this error indication

Property [title] of class [class TutorialEntry] with value [asdf] does not
match the required pattern [.*]

Well, .* should match 'asdf', right?

The constraint def is

    @Property constraints = {
        title(matches: /.*/, blank:false, unique:true)
    }

cheers
Mittie

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: String doesn't match .*

graemer
On 10/03/06, Dierk Koenig <[hidden email]> wrote:
> Hi,
>
> I tried a regex contraint and go this error indication
>
> Property [title] of class [class TutorialEntry] with value [asdf] does not
> match the required pattern [.*]
>
> Well, .* should match 'asdf', right?
Indeed it should, can you file an issue

Thanks for the report
Graeme

>
> The constraint def is
>
>     @Property constraints = {
>         title(matches: /.*/, blank:false, unique:true)
>     }
>
> cheers
> Mittie
>
>
Loading...