         if values.length > 0 and $.isArray(values[0])
             values = values[0]
         
-        url = @pattern
+        url = String(@pattern)
         
         while @RegExpCache.firstParam.test(url)
             # Get the right replacement

###*
* @preserve Simrou v1.3.4 - Released under the MIT License.
* Copyright (c) 2012 büro für ideen, www.buero-fuer-ideen.de
###


    post: shortcut 'post'
    put: shortcut 'put'
    delete: shortcut 'delete'
    any: shortcut '*'


# Export Simrou to the global namespace
