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!
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (305 votes). Check out past polls.