Common subdirectories: ../themekey-old/modules and ./modules
diff -uP ../themekey-old/themekey_admin.inc ./themekey_admin.inc
--- ../themekey-old/themekey_admin.inc	2009-01-21 11:50:33.000000000 -0800
+++ ./themekey_admin.inc	2009-04-22 14:40:57.000000000 -0700
@@ -23,7 +23,7 @@
                          \'comment/reply/#xyz\' matches all paths with \'comment/reply\' and a numeric third argument.
                          You can then specify conditions for every wildcard argument using the following syntax:
                          \'id=value;id2=value2;...\', e.g. \'xyz=123\'. Supported operators are \'=\' (equal), \'!\' (not equal),
-                         \'<\' (smaller) and \'>\' (greater).')
+                         \'<\' (smaller), \'>\' (greater) and \'~\' (regex match).')
   );
 
   $form['paths']['table'] = array(
@@ -130,7 +130,7 @@
                          and Theme = \'Bluemarine\' switches the theme of node 123 to Bluemarine. You may also specify
                          \'Additional Conditions\' so that the theme only applies when all conditions are matched. \'Additional
                          Conditions\' must be provided using the following syntax: \'property=value;property2=value2;...\'.
-                         Supported operators are \'=\' (equal), \'!\' (not equal), \'<\' (smaller) and \'>\' (greater).')
+                         Supported operators are \'=\' (equal), \'!\' (not equal), \'<\' (smaller), \'>\' (greater) and \'~\' (regex match).')
   );
 
   $form['properties']['table'] = array(
diff -uP ../themekey-old/themekey_base.inc ./themekey_base.inc
--- ../themekey-old/themekey_base.inc	2009-03-29 04:42:47.000000000 -0700
+++ ./themekey_base.inc	2009-04-22 14:43:22.000000000 -0700
@@ -213,6 +213,9 @@
         else if ($condition['operator'] == '!' && $value == $condition['value']) {
           return FALSE;
         }
+        else if ($condition['operator'] == '~' && !preg_match($condition['value'], $value)) {
+          return FALSE;
+        }
       }
     }
   }
diff -uP ../themekey-old/themekey_build.inc ./themekey_build.inc
--- ../themekey-old/themekey_build.inc	2009-01-21 11:50:33.000000000 -0800
+++ ./themekey_build.inc	2009-04-22 14:43:56.000000000 -0700
@@ -282,7 +282,7 @@
     $parts = array_filter(explode(';', $conditions));
     $conditions = array();
     foreach ($parts as $part) {
-      if (preg_match('/(.*)([<>=!]+)(.*)/', $part, $matches)) {
+      if (preg_match('/(.*)([<>=!~]+)(.*)/', $part, $matches)) {
         $conditions[] = array(
           'property' => trim($matches[1]),
           'operator' => trim($matches[2]),
