skip to navigation skip to content
Thu 4 Mar - Fri 5 Mar 2010
14:15 - 16:00

CANCELLED

Provided by: University Information Services


Booking

Bookings cannot be made on this event (Event is cancelled).


Other dates:


2015


2017



Register interest
Register your interest - if you would be interested in additional dates being scheduled.


Booking / availability

Pattern Matching Using Regular Expressions
Prerequisites

Thu 4 Mar - Fri 5 Mar 2010
CANCELLED

Description

This course describes how patterns in text strings can be matched using regular expressions. A number of programming and scripting languages (such as Python, Perl, and Java) and other applications (such as Apache, PHP, Exim, and some text editors) support the use of regular expression patterns. Although there are some differences between the different implementations, there is also a lot in common.

The course has been modified and extended from the one previously given by Philip Hazel, the author of the PCRE ("Perl Compatible Regular Expressions") library, one of the standard and widely used regular expression libraries. The extensions are: Python and Java to the same level as Perl and PCRE; more warnings about problem areas, background usage and programming hints; and a short section on true (computer science) regular expressions and their uses when transferring data between programs.

Prerequisites

Some programming or scripting experience using text as input (e.g. decoding arguments or input data).

Sessions

Number of sessions: 2

# Date Time Venue Trainer
1 Thu 4 Mar 2010   14:15 - 16:00 14:15 - 16:00 Hopkinson Lecture Theatre N.M. Maclaren
2 Fri 5 Mar 2010   14:15 - 16:00 14:15 - 16:00 Hopkinson Lecture Theatre N.M. Maclaren
Topics covered
  • Brief introduction and history
  • Basic character matching and encoding
  • Repetition, assertions and alternation
  • Capturing and using parts of the subject
  • Extended parenthesis features and atomicity
  • Lookahead, lookbehind and conditional matching
  • Back references and recursion
  • Different ways of matching a pattern
  • Performance issues
  • True regular expressions and data formats
Format

Presentation

Notes
Duration

Two half day sessions

Themes

Booking / availability

Override user: