fixed pattern match with '/' bug. 'rtrim' slash filter changed to 'trim'.