[asterisk-commits] kmoore: testsuite/asterisk/trunk r3438 - /asterisk/trunk/lib/python/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 21 08:53:48 CDT 2012


Author: kmoore
Date: Tue Aug 21 08:53:43 2012
New Revision: 3438

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3438
Log:
Allow quotes in option values

This resolves warnings generated by the testsuite for some voicemail
tests.

Modified:
    asterisk/trunk/lib/python/asterisk/config.py

Modified: asterisk/trunk/lib/python/asterisk/config.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/config.py?view=diff&rev=3438&r1=3437&r2=3438
==============================================================================
--- asterisk/trunk/lib/python/asterisk/config.py (original)
+++ asterisk/trunk/lib/python/asterisk/config.py Tue Aug 21 08:53:43 2012
@@ -43,7 +43,7 @@
             \s*                             # Leading whitespace
             (?P<name>[\w|,\.-]+)            # Option name
             \s*=>?\s*                       # Separator, = or =>
-            (?P<value>[\w\s=_()/@|,\.-]+)   # Option value
+            (?P<value>[\w\s=_()/@|,'"\.-]+) # Option value
             (?:;.*)?$                       # Optional comment before end of line
             """, re.VERBOSE)
 




More information about the asterisk-commits mailing list