9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Rodolfo (kix)" <kix@kix.es>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] regexp doubt
Date: Tue, 13 Jul 2010 17:15:17 +0200	[thread overview]
Message-ID: <AANLkTinYsqnEISxipE4yLVT8F9ABjXTb3_gV-ZOLD1c5@mail.gmail.com> (raw)
In-Reply-To: <AANLkTin6cYUMlxPZ6kVbY2RazkD3LAg9kwhpJDFJxnxe@mail.gmail.com>

Can you try:

/stat[abc]?[ ;\\-]/

I am not sure (and I do not have acme here), but probably the problem
is with the backslash.

You can try this too:

/stat[abc]?[ ;-]/

Saludos.

On Tue, Jul 13, 2010 at 5:01 PM, Vinu Rajashekhar <vinutheraj@gmail.com> wrote:
>
> On Tue, Jul 13, 2010 at 8:26 PM, hugo rivera <uair00@gmail.com> wrote:
>>
>> Hi,
>> can someone tell me why the regular expression /stat[abc]?[ ;\-]/
>> doesn't match the string "stat-" in acme? I expect it to match, where
>> does my mistake lie?
>> Saludos,
>>
> It's the [abc]? I guess, it says that you want an a, b, or c after stat.
>>
>> --
>> Hugo
>>
>
>



-- 
Rodolfo García "kix"
http://www.kix.es/ ham: EA4ERH @ IN80ER



  parent reply	other threads:[~2010-07-13 15:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 14:56 hugo rivera
2010-07-13 15:01 ` Vinu Rajashekhar
2010-07-13 15:11   ` hugo rivera
2010-07-13 15:15   ` Rodolfo (kix) [this message]
2010-07-13 15:31     ` hugo rivera
2010-07-13 15:37       ` blstuart
2010-07-13 15:46         ` hugo rivera
2010-07-13 15:50         ` Ethan Grammatikidis
2010-07-13 15:18 ` erik quanstrom
2010-07-13 15:31   ` hugo rivera
2010-07-13 16:00     ` erik quanstrom
2010-07-13 18:38       ` Russ Cox
2010-07-13 18:46         ` blstuart
2010-07-14  7:47           ` hugo rivera
2010-07-13 18:47         ` erik quanstrom
2010-07-13 18:49         ` erik quanstrom
2010-07-13 18:57         ` erik quanstrom
2010-07-14 18:11           ` Russ Cox
2010-07-15  8:15             ` hugo rivera
2010-07-13 15:48 ` yy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinYsqnEISxipE4yLVT8F9ABjXTb3_gV-ZOLD1c5@mail.gmail.com \
    --to=kix@kix.es \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).