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