Skip to content
Snippets Groups Projects
Commit a4f8aa54 authored by ulif's avatar ulif
Browse files

Fix regular expression.

parent 78bc49f3
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ RE_NUMBERED_WORDLIST_ENTRY = re.compile('^[0-9]+\s+([^\s]+)$')
#: A regular expression describing valid wordlist file names.
RE_VALID_WORDLIST_FILENAME = re.compile(
'^wordlist_([\w_-]+)\.[\w][\w\.]+[\w]+$')
'^wordlist_([\w-]+)\.[\w][\w\.]+[\w]+$')
def get_wordlist_names():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment