Duration: 1 day
£350.00 (VAT free from January 2019), •
Venue: Melksham, Wiltshire
COURSE START DATES
Usually scheduled to meet customer needs or run as a private course. Please email for details
Regular expressions are probably the most powerful pattern
matching tools that is available. In just one or two short lines of
code, the knowledgable programmer can write code that would be 10 times
as long using any other technique. But Regular Expressions aren't intuitive,
even to otherwise experienced code writers.
This course refreshes any knowledge of Regular Expressions that you
have from first principles, and shows you how to make effective use of them
for recognising, capturing and altering patterns. You will learn how Regular
Expression engines work, and learn how to write code that's going to run
well and fast. We then go on to study some of the more advanced features
such as look ahead, sparse matching, back referencing, etc.
You are encouraged to bring along samples of your data for us to look at
during the day so that you'll go away with practical examples of how you'll
be using regular expressions after this course!
Working knowledge of any one of Perl, PHP, Tcl, Python,
Ruby or Java.
Getting the most from your Well House Consultants course
Regular Expressions provide a powerful tool for matching strings -
for example, if you wanted to look at some text in your program and work out
whether it was in the correct format for a postcode, you would use a regular
expression. But ... regular expressions are so terse and yet flexible that
they're very hard for the newcomer to self-teach, which is why we offer this
one day course.
|What are Regular Expressions? (module Q801) What are Regular Expressions?
Why use regular expressions?
What are the alternatives?
|Regular Expression Elements (module Q802) Literals - Alphanumeric and special characters.
Anchors and other Assertions.
Character groups using [ ... ]
Extended character groups - the two alternative styles.
Bracketing groups and alternation
|Regular Expressions - Extra Elements (module Q803) Perl - matches and substitutes.
PHP - the ereg functions and the preg functions.
Tcl - standard and extended regular expressions.
Java - Pattern and Match classes in java.util.regex.
MySQL - the REGEXP and RLIKE clauses
|Regular Expression Internals (module Q804) Compile and match phases.
Saving state and backtracking - why and what is the effect?
Global and "study" matches, Regular Expression objects, etc.
|Advanced Regular Expression Components (module Q805) Sparse and greedy counts.
Back Referencing and saved variables.
Look ahead and look behind.
Non capture brackets.
|Regular Expression Cookbook (module Q806) Options for caputured output.
Matching the parts of the string you don't want.
When to use .* on the start of the end of a match.
Using Regular Expressions to handle numbers.
Other Regular Expression engines - from vi to Expect.
TUTOR and COURSE AUTHOR
Graham Ellis - firstname.lastname@example.org
] [about Graham
Public courses run at
Well House Manor
- our own
purpose fitted training centre and business hotel / conference centre in
• Download Melksham Map - [pdf file (750k)
] • Google Map - [Link
|| 2 students
|| 3 students
|| For 4 or more students
from the same company,
please consider a private course.
| With hotel room
£420.00 (No VAT from 1.2019)
£350.00 (No VAT from 1.2019)
| With hotel rooms
£790.00 (No VAT from 1.2019)
£650.00 (No VAT from 1.2019)
| With hotel rooms
£1160.00 (No VAT from 1.2019)
£950.00 (No VAT from 1.2019)
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
Upon completion of your course, you'll have online access to the source code of
all the examples from the course, and you'll have access to the
"Ask the Tutor" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropriate.
Certification? - [Link
FOR FURTHER INFORMATION
Public (scheduled) courses
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Terms and Conditions
Covering topics such as delegate substitution, payment, cancellation policy and other matters.