aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-embed-private.h')
-rw-r--r--embed/ephy-embed-private.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/embed/ephy-embed-private.h b/embed/ephy-embed-private.h
index b23c5a3e0..0fcc5007a 100644
--- a/embed/ephy-embed-private.h
+++ b/embed/ephy-embed-private.h
@@ -33,17 +33,18 @@ G_BEGIN_DECLS
/* EphyWebView */
#define EPHY_WEB_VIEW_NON_SEARCH_REGEX "(" \
- "^localhost(\\.[^[:space:]]+)?(:\\d+)?(/.*)?$|" \
- "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]$|" \
+ "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9](:[0-9]+)?.*$|" \
"^::[0-9a-f:]*$|" \
"^[0-9a-f:]+:[0-9a-f:]*$|" \
- "^[^\\.[:space:]]+\\.[^\\.[:space:]]+.*$|" \
"^https?://[^/\\.[:space:]]+.*$|" \
"^about:.*$|" \
"^data:.*$|" \
"^file:.*$" \
")"
+#define EPHY_WEB_VIEW_DOMAIN_REGEX "^localhost(\\.[^[:space:]]+)?(:\\d+)?(:[0-9]+)?(/.*)?$|" \
+ "^[^\\.[:space:]]+\\.[^\\.[:space:]]+.*$|"
+
void ephy_web_view_set_visit_type (EphyWebView *view,
EphyHistoryPageVisitType visit_type);
EphyHistoryPageVisitType ephy_web_view_get_visit_type (EphyWebView *view);