Re: lvm filter regex format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 18.12.2017 v 19:53 matthew patton napsal(a):
    https://github.com/jthornber/lvm2-ejt/blob/master/libdm/regex/parse_rx.h
not to be ungrateful but why on earth would one NOT use the glibc standard regex library? Nobody cares about pointless optimization. Surprises like "well, we only implemented most of the spec" are what drives people nuts!

I agree this particular length-based match is rather odd but there are plenty of useful examples I am sure that could benefit from {x,y} notation.


Such code was actually written long time ago - but since the syntax of standard glibc regex accepts slightly different strings - it would be an incompatible change - so it's been considered now worth breaking the compatibility at that time...


Regards

Zdenek

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux