[Opensource] bug in DBObject.FLOAT_MASK

Mike Traum mtraum at cirnetwork.org
Wed Dec 4 13:23:39 PST 2002


DBObject.FLOAT_MASK doesn't work. It's defined as:
^[+-]?([0-9]+.|[0-9]*.[0-9]+)([eE][+-]?[0-9]+)?

I found one that does:
^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$

 

I'd make the change myself, but have not yet setup cvs for write access and
don't have time right now.

 

Thanks,
Mike

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20021204/8f32e383/attachment-0002.htm


More information about the Opensource mailing list