Fix bug where the regex was unused in extract_sequences.