default to whatever the user passed:

        function _MakeTokenRegex(meta_left, meta_right) {
                // TODO: check errors
                return new RegExp('(' +
                (META_ESCAPE[meta_left]||meta_left) +
                '.+?' +
                (META_ESCAPE[meta_right]||meta_right) +
                '\n?)', 'g'); // global for use with .exec()
        }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JSON 
Template" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/json-template?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to