Commit 372100d5 authored by Eli Kastelein's avatar Eli Kastelein 🐋

Update [a-zA-Z-] regex for create and plan

parent 25045f64
......@@ -43,7 +43,7 @@ WITH snowplow_page_views AS (
FROM snowplow_page_views
WHERE page_url_path RLIKE '(\/([a-zA-Z-])*){2}\/merge_requests/[0-9]*'
WHERE page_url_path RLIKE '(\/([0-9A-Za-z_.-])*){2}\/merge_requests/[0-9]*'
AND page_url_path NOT REGEXP '/-/ide/(.)*'
)
......@@ -75,10 +75,10 @@ WITH snowplow_page_views AS (
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/tree\/(.)*'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/tree\/(.)*'
AND page_url_path NOT REGEXP '/-/ide/(.)*'
AND page_url_path NOT REGEXP '(\/([a-zA-Z-])*){2,}\/wiki\/tree\/(.)*'
AND page_url_path NOT REGEXP '((\/([a-zA-Z-])*){2,})?\/snippets/[0-9]{1,}'
AND page_url_path NOT REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/wiki\/tree\/(.)*'
AND page_url_path NOT REGEXP '((\/([0-9A-Za-z_.-])*){2,})?\/snippets/[0-9]{1,}'
)
......@@ -108,7 +108,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path RLIKE '((\/([a-zA-Z-])*){2,})?\/snippets/new'
WHERE page_url_path RLIKE '((\/([0-9A-Za-z_.-])*){2,})?\/snippets/new'
)
, snippet_edited AS (
......@@ -122,7 +122,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path RLIKE '((\/([a-zA-Z-])*){2,})?\/snippets/[0-9]*/edit'
WHERE page_url_path RLIKE '((\/([0-9A-Za-z_.-])*){2,})?\/snippets/[0-9]*/edit'
)
, snippet_viewed AS (
......@@ -136,7 +136,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path RLIKE '((\/([a-zA-Z-])*){2,})?\/snippets/[0-9]{1,}'
WHERE page_url_path RLIKE '((\/([0-9A-Za-z_.-])*){2,})?\/snippets/[0-9]{1,}'
)
......@@ -151,7 +151,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path RLIKE '(\/([a-zA-Z-])*){2,}\/wiki\/tree\/.*'
WHERE page_url_path RLIKE '(\/([0-9A-Za-z_.-])*){2,}\/wiki\/tree\/.*'
AND page_url_path NOT REGEXP '/-/ide/(.)*'
)
......
......@@ -45,7 +45,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/boards\/[0-9]{1,}'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/boards\/[0-9]{1,}'
)
......@@ -60,7 +60,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/epics(\/)?'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/epics(\/)?'
)
......@@ -75,7 +75,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/epics\/[0-9]{1,}'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/epics\/[0-9]{1,}'
)
, issue_list_viewed AS (
......@@ -90,7 +90,7 @@ WITH snowplow_page_views AS (
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/issues(\/)?'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/issues(\/)?'
)
......@@ -106,7 +106,7 @@ WITH snowplow_page_views AS (
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/issues\/[0-9]{1,}'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/issues\/[0-9]{1,}'
)
......@@ -121,7 +121,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/labels(\/)?'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/labels(\/)?'
)
......@@ -136,7 +136,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/milestones(\/)?'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/milestones(\/)?'
)
......@@ -151,7 +151,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/milestones\/[0-9]{1,}'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/milestones\/[0-9]{1,}'
)
......@@ -196,7 +196,7 @@ WITH snowplow_page_views AS (
page_view_id
FROM snowplow_page_views
WHERE page_url_path REGEXP '(\/([a-zA-Z-])*){2,}\/roadmap(\/)?'
WHERE page_url_path REGEXP '(\/([0-9A-Za-z_.-])*){2,}\/roadmap(\/)?'
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment