New Regular Expression "How To" at Scriptics

0 views
Skip to first unread message

Brent Welch

unread,
Jun 25, 1999, 3:00:00 AM6/25/99
to
We've a nice new page at Scriptics about the new features in
Tcl 8.1 regular expressions:

http://www.scriptics.com/support/howo/regexp81.html

This was put together by our new staff writer, Jerry Peek, who
you may know from one of his many O'Reilly books. The page provides
nice insight into the advanced features like back references,
lookahead patterns, and all the new backslash escapes.

We've also split out the discussion of the regular expression syntax
into its own man page. This will appear as part of the next Tcl
release, but you can see it now as

http://www.scriptics.com/man/tcl8.1/TclCmd/re_syntax.htm


-- Brent Welch <we...@scriptics.com>
http://www.scriptics.com
Scriptics: The Tcl Platform Company

Christopher Nelson

unread,
Jun 25, 1999, 3:00:00 AM6/25/99
to
Brent Welch wrote:
>
> We've a nice new page at Scriptics about the new features in
> Tcl 8.1 regular expressions:
>
> http://www.scriptics.com/support/howo/regexp81.html

"You step in the stream,
but the water has moved on.
This page is not here."

Chris
--
Rens-se-LEER is a county. RENS-se-ler is a city. R-P-I is a school!

Scott Redman

unread,
Jun 25, 1999, 3:00:00 AM6/25/99
to

James Ingham

unread,
Jun 25, 1999, 3:00:00 AM6/25/99
to
Brent Welch <we...@scriptics.com> writes:

> We've a nice new page at Scriptics about the new features in
> Tcl 8.1 regular expressions:
>
> http://www.scriptics.com/support/howo/regexp81.html
>

Actually, that's:

http://www.scriptics.com/support/howto/regexp81.html

Thanks for doing this!

> This was put together by our new staff writer, Jerry Peek, who
> you may know from one of his many O'Reilly books. The page provides
> nice insight into the advanced features like back references,
> lookahead patterns, and all the new backslash escapes.
>
> We've also split out the discussion of the regular expression syntax
> into its own man page. This will appear as part of the next Tcl
> release, but you can see it now as
>
> http://www.scriptics.com/man/tcl8.1/TclCmd/re_syntax.htm
>
>
> -- Brent Welch <we...@scriptics.com>
> http://www.scriptics.com
> Scriptics: The Tcl Platform Company

Jim.
--
++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++
Jim Ingham jin...@cygnus.com
Cygnus Solutions Inc.

China Blue

unread,
Jun 25, 1999, 3:00:00 AM6/25/99
to

> http://www.scriptics.com/support/howto/regexp81.html

ugh. Or use production rules. I would think that a Type 3 grammar parser
could verify the rules and generate [nd]fsm just as quickly. Or even a
standard RRP. I would find that more readable. A recogniser for regexp,
and a translation grammar for regsub.

--
There is no sanctuary.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

Donal K. Fellows

unread,
Jun 29, 1999, 3:00:00 AM6/29/99
to
In article <7l0ufc$gts$1...@nnrp1.deja.com>,
China Blue <dje...@my-deja.com> wrote:
[in response to http://www.scriptics.com/support/howto/regexp81.html]

> ugh. Or use production rules. I would think that a Type 3 grammar parser
> could verify the rules and generate [nd]fsm just as quickly. Or even a
> standard RRP. I would find that more readable. A recogniser for regexp,
> and a translation grammar for regsub.

You have some sample code to illustrate how this would work? And have
you given much thought to backward-compatability?

Donal.
--
Donal K. Fellows http://www.cs.man.ac.uk/~fellowsd/ fell...@cs.man.ac.uk
-- The small advantage of not having California being part of my country would
be overweighed by having California as a heavily-armed rabid weasel on our
borders. -- David Parsons <o r c @ p e l l . p o r t l a n d . o r . u s>

Donal K. Fellows

unread,
Jun 29, 1999, 3:00:00 AM6/29/99
to
In article <3773be85$0$2...@nntp1.ba.best.com>,

Brent Welch <we...@scriptics.com> wrote:
> We've a nice new page at Scriptics about the new features in
> Tcl 8.1 regular expressions:
>
> http://www.scriptics.com/support/howto/regexp81.html

I like the business with collating sequences and equivalence classes.

Reply all
Reply to author
Forward
0 new messages