summaryrefslogtreecommitdiff
path: root/packages/astro-parser/src/utils/patterns.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro-parser/src/utils/patterns.ts')
-rw-r--r--packages/astro-parser/src/utils/patterns.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/astro-parser/src/utils/patterns.ts b/packages/astro-parser/src/utils/patterns.ts
new file mode 100644
index 000000000..317a7c199
--- /dev/null
+++ b/packages/astro-parser/src/utils/patterns.ts
@@ -0,0 +1,3 @@
+export const whitespace = /[ \t\r\n]/;
+
+export const dimensions = /^(?:offset|client)(?:Width|Height)$/;