[libvirt] [PATCH v2 2/3] util: introduce virBufferEscapeRegex

Martin Kletzander mkletzan at redhat.com
Fri May 12 14:26:47 UTC 2017


On Fri, May 12, 2017 at 02:57:55PM +0200, Pavel Hrdina wrote:
>Add a helper to escape all possible meta-characters used for
>POSIX extended regular expressions.
>
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
>
>new in v2
>
> src/libvirt_private.syms |  1 +
> src/util/virbuffer.c     | 19 +++++++++++++++++++
> src/util/virbuffer.h     |  3 +++
> tests/virbuftest.c       | 40 ++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 63 insertions(+)
>

Looks good, ACK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170512/220b12b3/attachment-0001.sig>


More information about the libvir-list mailing list