> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing....@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing....@gnu.org] On
> Behalf Of Doug Lewan
> Sent: Friday, 2012 June 08 14:49
> To: help-gnu-em...@gnu.org
> Subject: Anchoring a RE in a string
> Currently I'm trying to check the /beginning/ of a multi-line string
> with a regular expression.
> The scenario looks like this:
On Friday, June 8, 2012 2:08:24 PM UTC-5, Doug Lewan wrote:
> I've found the /adequate/ solution.
> (setq s (delete ?\n s))
> (string-match "^\\s-+ABCD" s)
> Still, is there no way of truly anchoring at the beginning of a string?
> > -----Original Message-----
> > From: help-gnu-emacs-bounces+dougl=shubertticketing....@gnu.org
> > [mailto:help-gnu-emacs-bounces+dougl=shubertticketing....@gnu.org] On
> > Behalf Of Doug Lewan
> > Sent: Friday, 2012 June 08 14:49
> > To: help-gnu-em...@gnu.org
> > Subject: Anchoring a RE in a string
> > Currently I'm trying to check the /beginning/ of a multi-line string
> > with a regular expression.
> > The scenario looks like this:
On Friday, June 8, 2012 2:08:24 PM UTC-5, Doug Lewan wrote:
> I've found the /adequate/ solution.
> (setq s (delete ?\n s))
> (string-match "^\\s-+ABCD" s)
> Still, is there no way of truly anchoring at the beginning of a string?
> > -----Original Message-----
> > From: help-gnu-emacs-bounces+dougl=shubertticketing....@gnu.org
> > [mailto:help-gnu-emacs-bounces+dougl=shubertticketing....@gnu.org] On
> > Behalf Of Doug Lewan
> > Sent: Friday, 2012 June 08 14:49
> > To: help-gnu-em...@gnu.org
> > Subject: Anchoring a RE in a string
> > Currently I'm trying to check the /beginning/ of a multi-line string
> > with a regular expression.
> > The scenario looks like this:
> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing....@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing....@gnu.org] On
> Behalf Of jpkotta
> Sent: Friday, 2012 June 08 15:19
> To: gnu.emacs.help@googlegroups.com
> Cc: help-gnu-em...@gnu.org
> Subject: Re: Anchoring a RE in a string
> On Friday, June 8, 2012 2:08:24 PM UTC-5, Doug Lewan wrote:
> > I've found the /adequate/ solution.
On Sun, Jun 10 2012 07:38 (@1339306698), rusi wrote:
> On Jun 10, 12:28 am, Philipp Haselwarter <phil...@haselwarter.org>
> wrote:
>> `rx' is cool when you're too lazy to look up special symbols
>> --
>> Philipp Haselwarter
> Interesting!! Cant find an info page.
Unfortunately, its only mention in emacs or elisp info is Gerd
Moellmann's authorship notice: "[...] `rx.el', a regular expression
constructor. ".
> Unfortunately, its only mention in emacs or elisp info is Gerd
> Moellmann's authorship notice: "[...] `rx.el', a regular expression
> constructor. ". Take a look at C-h f rx RET
If you cannot find something in the manuals, try searching for it at EmacsWiki
(or Google after that). Entering "rx" in the wiki search field shows this page
as the first search hit: http://emacswiki.org/emacs/rx.
(That of course is not intended to mean that something should not also be
mentioned in the manuals. It's just intended to help you find information. The
wiki is another resource, like help-gnu-em...@gnu.org.)