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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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