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!
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (383 votes). Check out past polls.