Commit c7a80b6d authored by Mathieu Giraud's avatar Mathieu Giraud

should-vdj-to-tap.py: allows any character between succesive terms

'TRDV2 TRAJ29' should match 'TRDV2 13/CCCGAC/34 TRAJ29' (but not the opposite, unless -N is given)
parent 87974900
......@@ -158,7 +158,7 @@ def should_pattern_to_regex(p):
for term in p.split():
r += process_term(term)
regex_pattern = ' '.join(r)
regex_pattern = ' .*'.join(r)
try:
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