9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] "Intervalic
Date: Wed, 22 Feb 2006 13:51:57 -0500	[thread overview]
Message-ID: <7af898f1cca6bb4312c1af962bde6cba@swtch.com> (raw)
In-Reply-To: <43fcae95.pR9y1wmnRB5q51Z/%yard-ape@telus.net>

> Am I misunderstanding the REP operators?  If not, how do you folks
> like to handle such problems as one might use intervalic expressions on?
> Do you just use an explicit regular expression?  If so, I'm curious
> about the reasoning behind the design decision to leave intervalic
> expressions out.

They're a recent addition to the regular expression world and
no one has cared enough to add them.  

If you're using awk and want the first 24 characters, I'd use substr.

Russ



  reply	other threads:[~2006-02-22 18:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22 18:33 yard-ape
2006-02-22 18:51 ` Russ Cox [this message]
2006-02-22 19:20   ` yard-ape
2006-02-23  2:24     ` geoff
2006-02-22 19:50 ` Bakul Shah
2006-02-22 20:58   ` yard-ape
2006-02-22 21:47     ` Russ Cox
2006-02-22 23:36       ` yard-ape
2006-02-22 18:50         ` Russ Cox
2006-02-23  0:05           ` yard-ape
2006-02-22 23:42         ` andrey mirtchovski

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=7af898f1cca6bb4312c1af962bde6cba@swtch.com \
    --to=rsc@swtch.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).