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!
Results (397 votes),