[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Instructions]
[Links]
[Search]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Project]
[Readings]
[Reference]
Misc:
[2001S]
[2002F]
[SamR]
Held: Wednesday, 4 February 2004
Summary: Today we continue our investigation of regular expressions.
Related Pages:
Overview:
compiledinto normal regular expressions.
at least one instance. a+ is (aa*).
optional. a? is shorthand for (a|epsilon).
The thing matched in an earlier part of the pattern.
Not this regular expression
BEGIN: [Bb][Ee][Gg][Ii][Nn] NUMBER: (+|-|epsilon)([1-9][0-9]*)|(0x[0-9]+)|([1-9].[0-9]+)|... IDENTIFIER: [a-zA-Z_][a-zA-Z_0-9]* OPEN: \( CLOSE: \)
look aheada great deal to determine whether or not something matches a longer pattern and find that it doesn't.
[Skip to Body]
Primary:
[Front Door]
[Current]
[Glance]
-
[Honesty]
[Instructions]
[Links]
[Search]
Groupings:
[EBoards]
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Project]
[Readings]
[Reference]
Misc:
[2001S]
[2002F]
[SamR]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Wed May 5 11:46:58 2004.
The source to the document was last modified on Tue Jan 20 23:06:45 2004.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS362/2004S/Outlines/outline.07.html.
You may wish to
validate this document's HTML
;
;
Check with Bobby