diff --git a/src/Plugin/views/field/View.php b/src/Plugin/views/field/View.php
index bd650b5..f965806 100644
--- a/src/Plugin/views/field/View.php
+++ b/src/Plugin/views/field/View.php
@@ -341,7 +341,7 @@ class View extends FieldPluginBase {
    */
   protected function getTokenArgument($token) {
     // Trim whitespace and remove the brackets around the token.
-    preg_match('{{\s?(?<type>[a-z_]+)\.(?<id>[a-z_]+)\s?}}', $token, $match);
+    preg_match('{{\s?(?<type>[a-zA-Z_0-9]+)\.(?<id>[a-zA-Z_0-9]+)\s?}}', $token, $match);
 
     return [
       'type' => $match['type'],
