[libvirt] [PATCH] virsh: update comment about parsing

Eric Blake eblake at redhat.com
Wed Oct 13 14:54:33 UTC 2010


On 10/13/2010 06:21 AM, Daniel Veillard wrote:
>> + *    string          =     ('[^']*'|"([^\\"]|\\.)*"|([^ \t\n\\'"]|\\.))+
>>    *
>>    */
>
>    The last regexps makes the head spin a bit but if used to it that's
>    logical :-)

In lay terms, a concatenation of one or more:
  single-quoted strings (ends at first ')
  double-quoted strings (ends at first " but skipping \ escapes)
  regular characters (excluding whitespace separators or quotes)
  backslash escape sequences

But yeah, ugly to read.

>
> ACK
>
> Also ACK to the initial 8 patch series, so basically the whole set
> including your extra patches are fine for me, please commit, it will
> be easier for you :-)

All pushed now.  And I can get back to my vcpus series.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list