[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Raw strings (experimental patches inside)

From: Davis Herring
Subject: Re: Raw strings (experimental patches inside)
Date: Fri, 10 Aug 2012 17:03:53 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110717 Lanikai/3.1.11

> /.*\)$/

This would work in Perl (among other places); in Emacs you just drop the
\.  That is, type

C-M-s ) $

(You needn't include the .* unless you want to match the whole line.)
In Elisp, type


as the regexp.  (No //.)

> /^[^\t]+\t/

Keyboard: C-M-s ^ [ ^ TAB ] + TAB
Elisp: "^[^\t]+\t" (exactly what you wrote, without the // delimiters.


This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during

reply via email to

[Prev in Thread] Current Thread [Next in Thread]