From 048632788dfd77e9feae11fa40df6b4042bd7479 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Sat, 14 Nov 2020 19:02:28 -0500 Subject: [PATCH] Add examples for regex flags (#1716) * Adds examples for regex flags in the flag creation form --- CTFd/plugins/flags/assets/regex/create.html | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CTFd/plugins/flags/assets/regex/create.html b/CTFd/plugins/flags/assets/regex/create.html index 496cd289..cdad7b8d 100644 --- a/CTFd/plugins/flags/assets/regex/create.html +++ b/CTFd/plugins/flags/assets/regex/create.html @@ -11,4 +11,27 @@ +
+ + + + + + + + + + + + + + + + + + + + +
DescriptionFlag
Match any content inside of flag{}:flag{.*}
Match numeric flags:flag{(\d+)}
Accept flags with or without the flag format prefix:(flag{)?this_is_a_flag(})?
+
\ No newline at end of file