[blivet:master] Add ability to match scientific notation in strings.

Anne Mulhern amulhern at redhat.com
Mon Feb 16 20:12:58 UTC 2015


In blivetgui there is a convert_to_size() method which does parsing of scientific notation strings.

I'ld rather that size methods handle that parsing, instead, if it is necessary.

- mulhern

----- Original Message -----
> From: "Vratislav Podzimek" <vpodzime at redhat.com>
> To: "anaconda patch review" <anaconda-patches at lists.fedorahosted.org>
> Sent: Monday, February 16, 2015 3:00:42 PM
> Subject: Re: [blivet:master] Add ability to match scientific notation in	strings.
> 
> On Mon, 2015-02-16 at 14:14 -0500, mulhern wrote:
> > The matching regular expression is expanded to include possible
> > scientific notation in numeric part and to exclude numeric parts
> > with multiple radices.
> One easy question: Why? I cannot come up with a situation in my life I
> came across such notation being used with storage units.
> 
> --
> Vratislav Podzimek
> 
> Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 


More information about the anaconda-patches mailing list