sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: Paul Haahr <haahr@mv.us.adobe.com>
To: schwartz@groucho.cs.psu.edu
Cc: sam-fans@hawkwind.utcs.toronto.edu
Subject: Re: regexps
Date: Tue, 8 Dec 1992 23:28:27 -0500	[thread overview]
Message-ID: <9212090428.AA08969@utopia.mv.us.adobe.com> (raw)

beginning of word:      (^|[^a-zA-Z0-9])
end of word:            ($|[^a-zA-Z0-9])

'course, you still have to narrow dot by one then.  your definition of 
word may be different from mine, of course, so, maybe
        (^|[ \t]) and ($|[ \t])
would be more appropriate.  (i don't think sam takes \t, but it's
much clearer for purposes of the example.)


             reply	other threads:[~1992-12-09  4:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-12-09  4:28 Paul Haahr [this message]
1992-12-09  4:38 ` regexps Scott Schwartz
  -- strict thread matches above, loose matches on Subject: below --
1992-12-09  6:15 regexps Paul Haahr
1992-12-09  4:54 regexps Scott Schwartz
1992-12-09  4:15 regexps Scott Schwartz

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=9212090428.AA08969@utopia.mv.us.adobe.com \
    --to=haahr@mv.us.adobe.com \
    --cc=sam-fans@hawkwind.utcs.toronto.edu \
    --cc=schwartz@groucho.cs.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).