Re: Vaiidators

2013-02-12 Thread Johan Vromans
James Lynes writes: > print Dumper($timeval) says: > $VAR1 = bless( { > 'data' => \'10:00', > 'validate' => qr/(?^:(\d+:))/ >}, 'LCDAlarmClockDialog::Validator' ); > > 1. Not sure what the pre-pended ?^: means. It was added by > Wx::Perl::Text

Re: Vaiidators

2013-02-12 Thread Sergei Steshenko
- Original Message - > From: James Lynes > To: wxperl-users@perl.org > Cc: > Sent: Monday, February 11, 2013 2:15 AM > Subject: Vaiidators > > Hi: > > I am playing with creating a custom dialog using validators and I seem to > have hit a wall. I am using the code from the wxPerl dem

RE: Vaiidators

2013-02-12 Thread steveco.1959
Hi James, > I want to enter a time of day value such as ##:## and ensure the colon > was entered. I'd live to hear if you manage to do this. > >2. I have tried a number of regex strings: > (\d+) allows entry of numbers > (:) allows entry of colons > (