The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: scj@yaccman.com (Steve Johnson)
Subject: [TUHS] Regular Expressions (was Re: origin of the name 'glob')
Date: Sun, 09 Jul 2017 15:06:35 -0700	[thread overview]
Message-ID: <ea1394dad1729490d127ed8ebd7611f3d93c4304@webmail.yaccman.com> (raw)
In-Reply-To: <CABH=_VTcrKy_vV6=8VEM06VA9zRX74-pvt-fPhgQftKoWCho9Q@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]

If you haven't seen it, check out Ken Thompson's brilliant paper on
compiling regular expressions.  The date was 1968... In effect, he
built a JIT to do regular expression searches (on an IBM 7094, no
less!).

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwjika38mP3UAhVT2WMKHd3FAEcQFggoMAA&url=https%3A%2F%2Fwww.fing.edu.uy%2Finco%2Fcursos%2Fintropln%2Fmaterial%2Fp419-thompson.pdf&usg=AFQjCNFTSoOmBGBOl-DdCqUAv5dLLuuQPg

The earliest reference is a paper by Kleene in 1956.   In fact, I
recall that * was sometimes called "the Kleene star" in the day...

Steve

----- Original Message -----
From: "Paul Winalski" <paul.winalski@gmail.com>
To:"ron minnich" <rminnich at gmail.com>
Cc:"The Eunuchs Hysterical Society" <tuhs at tuhs.org>
Sent:Sun, 9 Jul 2017 17:55:50 -0400
Subject:[TUHS] Regular Expressions (was Re: origin of the name 'glob')

 On 7/9/17, ron minnich <rminnich at gmail.com> wrote:
 >>
 > All the DEC-10 and 11 operating systems I used had that wildcard,
as well
 > as IIRC even the PDP-8, maybe someone can confirm the -8.
 >
 > It would have been nice had RE's been the standard way to glob
files, but,
 > that said, when I mention .*.c to people instead of *.c they don't
much
 > like it.

 So when were REs first designed and implemented? I would imagine that
 they came about as a way to extend the old '*' and '?' wildcard
 syntax, but that is only a guess.

 -Paul W.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20170709/98a028c5/attachment.html>


  reply	other threads:[~2017-07-09 22:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-09 21:55 Paul Winalski
2017-07-09 22:06 ` Steve Johnson [this message]
2017-07-09 22:08   ` ron minnich
2017-07-09 22:36     ` Bakul Shah
2017-07-09 23:35       ` Greg 'groggy' Lehey
2017-07-09 23:43       ` Toby Thain
2017-07-10 13:47   ` arnold
2017-07-10 12:38 Noel Chiappa

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=ea1394dad1729490d127ed8ebd7611f3d93c4304@webmail.yaccman.com \
    --to=scj@yaccman.com \
    /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).