9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "roger peppe" <rogpeppe@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] ^ and $ in structural expressions
Date: Fri, 29 Feb 2008 15:48:57 +0000	[thread overview]
Message-ID: <df49a7370802290748g3010fa2ehd12eeb316dffa8dc@mail.gmail.com> (raw)
In-Reply-To: <20080229140847.GA20853@dinah>

> Lately, I've been running into situations where it would
> be convenient to have them match what they should, i.e.,
> the beginning and end of the selected data.

i've often wanted something similar, but i'm not sure you can
re-use ^ and $, as for example ,x/;$/d would stop working.

i thought perhaps « and » would do the job, but that's
not considered a good idea.

here are some relevant articles from the archives:

    http://9fans.net/archive/2003/10/241
    http://9fans.net/archive/2003/10/245
    http://9fans.net/archive/2003/10/340
    http://9fans.net/archive/2003/10/341
    http://9fans.net/archive/2003/10/343

basically, it might be useful, but there's no way to fit it into the syntax.

  reply	other threads:[~2008-02-29 15:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 14:08 Anthony Martin
2008-02-29 15:48 ` roger peppe [this message]
2008-02-29 15:53   ` Hongzheng Wang
2008-02-29 15:58     ` erik quanstrom

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=df49a7370802290748g3010fa2ehd12eeb316dffa8dc@mail.gmail.com \
    --to=rogpeppe@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).