Parcourir la source

Merge pull request #1678 from cnotin/patch-3

Add UUID regex to 'Regular expression' operation
a3957273 il y a 1 an
Parent
commit
c6da0c623d
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      src/core/operations/RegularExpression.mjs

+ 4 - 0
src/core/operations/RegularExpression.mjs

@@ -83,6 +83,10 @@ class RegularExpression extends Operation {
                         name: "Strings",
                         value: "[A-Za-z\\d/\\-:.,_$%\\x27\"()<>= !\\[\\]{}@]{4,}"
                     },
+                    {
+                        name: "UUID (any version)",
+                        value: "[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}"
+                    },
                 ],
                 "target": 1
             },