unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: uzibalqa <uzibalqa@proton.me>,
	"'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'"
	<help-gnu-emacs@gnu.org>
Subject: RE: [External] : At least one character at beginning and end of words
Date: Sun, 14 Aug 2022 23:43:10 +0000	[thread overview]
Message-ID: <SJ0PR10MB54881942605A42AC5B16D587F3699@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <AFJS6lCDR5h6kFWGWzILrxn-Eu5CvfxO3qY3xtlhMhlzCbFb6XCarX97xK9K8XoGLcLxlojptdlC2qLsOOEjuwfXueMiH71F7ilED9yDQgw=@proton.me>

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

> I want to match the sequence "at least one letter" then "ple" 
> then "at least one letter". How would a regexp look like.?

"[:alpha:]+ple[:alpha:]+"

I think you should spend some time reading the Elisp manual section on regexps.

https://www.gnu.org/software/emacs/manual/html_node/elisp/Regular-Expressions.html

And maybe read up elsewhere about regexps:

https://www.oreilly.com/library/view/mastering-regular-expressions/0596528124/

Then you can help others with their questions about regexps...

[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 13898 bytes --]

  reply	other threads:[~2022-08-14 23:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14 21:08 At least one character at beginning and end of words uzibalqa via Users list for the GNU Emacs text editor
2022-08-14 23:43 ` Drew Adams [this message]
2022-08-15  4:36   ` [External] : " tomas
2022-08-15  9:25     ` uzibalqa
2022-08-15  9:48       ` tomas
2022-08-15 10:26         ` uzibalqa

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=SJ0PR10MB54881942605A42AC5B16D587F3699@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=uzibalqa@proton.me \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).