in reply to Re: regex to match the following
in thread regex to match the following

Also out of curiosity, do monks really prefer having the and at the begining of the line?

I do. Those boolean operators are a lot like control flow statements (e.g., next) because they control whether different parts of the expression are evaluated. I like to have them out front, clearly visible. That way I can more easily tell what might run and what might not.