On 12Oct2010 11:19, Todd Hesla <he...@aem.umn.edu> wrote:
| [...]  Of course, technically, the "."
| character would, I imagine, be interpreted as a special character which
| stands for _any_ character, so I suppose I should be single-quoting these
| regexp's, but there's really no other character (than an actual ".") that
| would ever be in those positions. [...]

Single quoting and backslashing. The former to protect the backslash, the
latter to stop the dot being special in the regexp.

Though as you say, the chances of misadventure are very small.
-- 
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

The batsmen out there should know something about the game.
- Michael Holding, Aus vs West Indies commentator

Reply via email to