Commit 98e07251 authored by Mikaël Salson's avatar Mikaël Salson
Browse files Specifying a space is too restrictive.

If we do not specify the D gene, we may not have a space between each term.
parent 5a5c627e
......@@ -164,7 +164,7 @@ def should_pattern_to_regex(p):
for term in p.split():
r += process_term(term)
regex_pattern = ' .*'.join(r)
regex_pattern = '.*'.join(r)
regex = re.compile(regex_pattern)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment