in reply to question regarding separators for regular expressions

I never use a pipe because it's a metacharacter in regular expressions and forces me to parse more carefully as I read the code. Since I want the delimiter to be tall and skinny, if that's possible, the ! bang is my delimiter of choice when the slash won't do. If that still leads to backslashitis, I use pairing delimiters, usually curlies.

Makeshifts last the longest.

  • Comment on Re: question regarding separators for regular expressions