     // MARK: - IBAction
 
     @IBAction func searchPrevious(_ sender: UIBarButtonItem) {
-        searchText(withOptions: .backwards)
+        searchText(withOptions: [.regularExpression, .backwards])
     }
     
     @IBAction func searchNext(_ sender: UIBarButtonItem) {
-        searchText(withOptions: .regularExpression)
+        searchText(withOptions: [.regularExpression])
     }
     
     @IBAction func shareAction() {

    
    func searchBarTextDidEndEditing(_ searchBar: UISearchBar) {
        searchBarText = searchBar.text
        if isPageExchangedForRTL {
            searchText(withOptions: .backwards)
        } else {
            searchText(withOptions: .regularExpression)
        }
    }
    
    // UISearchControllerDelegate

            navigationController?.navigationBar.tintColor = presentingViewController?.view.tintColor
            navigationController?.toolbar.tintColor = presentingViewController?.view.tintColor
            navigationItem.searchController?.searchBar.tintColor = presentingViewController?.view.tintColor
            if navigationItem.searchController?.isActive == true, let items = navigationController?.toolbar.items {
                for item in items {
                    item.isEnabled = true
                    item.tintColor = view.tintColor
                }
            }
        }
    }
    
