mcpa-stlouis / hack-the-arch

Welcome to HackTheArch! A free open source scoring server for cyber Capture the Flag competitions!
https://hackthearch.herokuapp.com
MIT License
66 stars 27 forks source link

[Request] regex flag support #27

Closed noraj closed 5 years ago

noraj commented 7 years ago

Currently there is only one type of answer supported: string flags. But it could be very nice to support also regex flag to allow multiple flags or a range of answers.

RootTheBox project use them if you need.

paullj1 commented 7 years ago

Sorry for the delay. Beta release coming soon, we'd appreciate any feedback you've got!

noraj commented 6 years ago

Using dev branch. With an admin account, going in Create Problem. I have a weird display:

Also i did a very basic regex test and it worked well. We just need to know that we do not need to put the slashes like that/regex/. Is it possible to put the slashes before and after the area ? It will be more clear.

paullj1 commented 5 years ago

So the slashes are usually a programming specific thing. Every time you use grep, you're using regular expressions, and you never use slashes there.

The display issue seems to affect some browsers, and is documented in #47