Exercises, examples and other material relating to training module T247. This topic is presented on public courses
Learning to program in Tcl,
Tcl Basics
Tcl Programming - The Tcl programming language, and Expect
This course covers the fundamentals of the Tcl
programming language. You'll learn about Tcl ... http://www.wellho.net/course/tbfull.html [course] |
Learning to Program in Tcl - The Tcl programming language, and Expect
This course covers the fundamentals of the Tcl
programming language. You'll learn ... http://www.wellho.net/course/tlfull.html [course] |
Do you want to ignore case in a regular expression? There are a variety of ways of doing it ... depending on the language you're writing. Here are ... http://www.wellho.net/mouth/1336_Ign ... ssion.html [short article] |
div class= introsubheads PATTERN MATCHING (OR HOW TO DO A LOOK LIKE) BR /div
You can test a string against a pattern (known as a REGULAR EXPRESSION ... http://www.wellho.net/solutions/php-patt ... sions.html [longer article] |
Regular Expressions are powerful matching tools and you can specify almost anything within them. But there are certain facilities that are naturally ... http://www.wellho.net/mouth/943_Matc ... sions.html [short article] |
I can write a regular expression to match ANY number of digits between 6 and 25 ...
^[[:digit:]]{6,25}$
but how would I write a regular expression to ... http://www.wellho.net/mouth/1613_Reg ... igits.html [short article] |
Regexp matches a string to a regular expression, and regsub goes one further in that it replaces the found string with something else, saving the transformed ... http://www.wellho.net/mouth/1410_Tcl ... -bits.html [short article] |
Regular expressions are considerably enhanced in recent versions of Tcl, and this module, which assumes some prior knowledge of basic regular expressions, goes into advanced features such as groupings, sparse and greedy counts, and the Posix standard groups.
This topic is presented on public courses
Learning to program in Tcl,
Tcl Basics
Examples from our training material
| T247.tcl | Tcl in use for CGI scripting |
| aretest | advanced regular expression match demo |
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
Introduction.
What are advanced regular expressions?.
The working of a regular expression.
The elements of a regular expression.
Literal characters.
Assertions.
Character groups.
Counts.
Extensions.
A little more on regexp and regsub.
A further example.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Tcl/Tk, Expect,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.