Greetings,

I seem to be having a bit of trouble getting regexp to correctly validate an
input number for me that is not to exceed 6 whole digits and 2 decimals.

I am trying:

regexp {[0-9][0-9]{0,5}(\.[0-9][0-9]} $cost

I am thinking this is what I want but I do not get the desired outcome.  I am
almost sure I am confused:)

Help Will-B appreciated!



 -- 
RJ Ent. -- http://www.rjent.pair.com 
Had Enough GPF's from M$? 
Try something stable:  http://www.freebsd.org or http://www.redhat.com
Strong Supporter of Visual Tcl -- http://www.neuron.com/stewart/vtcl/

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to