help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs vs. perl => regular expressions


From: Reiner Steib
Subject: Re: emacs vs. perl => regular expressions
Date: Wed, 02 Mar 2005 10:17:34 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

On Wed, Mar 02 2005, Tim Johnson wrote:

> I just got "Regular Expressions Recipes" by Nathan A. Good.
>
> I'm hoping to use it to learn RE. The book focuses on using
> Perl, vim, python and PHP. I would find it helpful if I could
> be pointed to documentation that outlines the unique RE features
> of emacs (or Xemacs).
>
> That way I could do the exercises in emacs also. I think that
> would be very helpful in learning RE for emacs.
>
> Is such documentation available? Any suggestions?

The Emacs Manual and the Emacs Lisp Reference Manual describe the
syntax of regular expressions *in Emacs*, but _not_ the differences to
Perl REs, ...

,----[ (info "(emacs)Regexps") ]
| Syntax of Regular Expressions
| 
| This manual describes regular expression features that users typically
| want to use.  There are additional features that are mainly used in
| Lisp programs; see *Note Regular Expressions: (elisp)Regular
| Expressions.
`----

(info "(emacs)Regexps"); <== Press C-x C-e here!
(info "(elisp)Regular Expressions"); <== Press C-x C-e here!

Probably also useful: `M-x re-builder RET'.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

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