Changeset

3708:2dcb86c7cee7

util.xmppstream: Expose ns_separator and ns_pattern
author Matthew Wild <mwild1@gmail.com>
date Tue, 07 Dec 2010 19:19:05 +0000
parents 3707:79f62694d36e
children 3709:db1c1ddc79e8
files util/xmppstream.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/xmppstream.lua	Tue Dec 07 18:38:22 2010 +0000
+++ b/util/xmppstream.lua	Tue Dec 07 19:19:05 2010 +0000
@@ -31,6 +31,9 @@
 local ns_separator = "\1";
 local ns_pattern = "^([^"..ns_separator.."]*)"..ns_separator.."?(.*)$";
 
+_M.ns_separator = ns_separator;
+_M.ns_pattern = ns_pattern;
+
 function new_sax_handlers(session, stream_callbacks)
 	local xml_handlers = {};