in reply to self limiting regex help
If I understand your conditions correctly, this should do:
print if /^ [ACGT]* ([RYMKSWHBVDN])?
Eureka! I was just attempting to do something similar, but had discovered that \n doesn't work in a character class.
Thank you (and everyone who responded) very much for your help!
Frying pan on the stove
Results (322 votes). Check out past polls.