 ###*
-* @preserve Simrou v1.3.3 - Released under the MIT License.
+* @preserve Simrou v1.3.4 - Released under the MIT License.
 * Copyright (c) 2012 büro für ideen, www.buero-fuer-ideen.de
 ###
 
 class Simrou
     # Cache regular expressions
     RegExpCache:
-        extractHash: /^(?:[^#]*#+)?(.*?)\/*$/
+        extractHash: /^[^#]*(#.*)$/
+        trimHash: /^#*(.*?)\/*$/
     
     # Does the user's browser natively support the onHashChange event? 
     eventSupported: do ->

        method = $form.attr('method') or $form.get(0).getAttribute('method')
        action = @getHash( $form.attr('action') )
        
        event.preventDefault() if @resolve(action, method)
        true
    
    # Starts the routing process - binds the Simrou instance to several

        
    # Changes window.location.hash to the specified hash.
    navigate: (hash) ->
        previousHash = @getHash()
        location.hash = hash
        
        if not @observingHash or location.hash is previousHash
            @resolve(hash, 'get')
        
    # Resolves a hash. Method is optional, returns true if matching route found.
    resolve: (hash, method) ->
        # Strip unwanted characters from the hash
        hash = hash.replace(@RegExpCache.trimHash, '$1');
        if hash is ''
            return false
        
        # Iterate over all registerd routes
        for own name, route of @routes
