[please keep the list CC'd. Thanks!] On Wed, Aug 13, 2014 at 9:33 AM, Marcello Vezzelli <m...@3cx.com> wrote: > I noticed that 2 of Sweex UPS have an identical serial number 20100813, > which looks like a date. > The other one has an empty serial number. > > The blew one had the serial number, so I'm left with two different UPSes > from the serial number point of view. > I wonder if an empty serial number is a valid serial number!
I haven't tried it, but an empty string (that is, iSerial is not zero, but the string has length zero) should match the regex "". -- - Charles Lepple _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser