hi, bit of a strange question but does anyone know if there is a way of storing regular expressions as dictionary keys in python?
I ask because i need to match patterns of sequences against other sequences and the patterns themselves are the most important thing. If I could store the patterns in a dictionary, and then cycle through them to see if the patterns are in another sequence, this would be ideal.
thanks
I ask because i need to match patterns of sequences against other sequences and the patterns themselves are the most important thing. If I could store the patterns in a dictionary, and then cycle through them to see if the patterns are in another sequence, this would be ideal.
thanks
Comment