Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Related technical and longer articles
Pattern Matching - a primer on regular Expressions
Tips and short articles on this subject
Regular expression for 6 digits OR 25 digits
Sparse and Greedy matching - Tcl 8.4
Tcl / regsub - changing a string and using interesting bits
Ignore case in Regular Expression
Regular expressions made easy - building from components
Regular Express Primer
Matching within multiline strings, and ignoring case in regular expressions
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Tcl/Tk module T247
Advanced Regular Expressions
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.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho