skip to navigation skip to content
- Select training provider - (University Information Services - Digital Literacy Skills)
Mon 10 Feb - Tue 11 Feb 2014
14:15 - 16:00

Venue: New Museums Site, Hopkinson Lecture Theatre

Provided by: University Information Services - Digital Literacy Skills


Booking

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


Other dates:

No more events



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


Booking / availability

Programming Concepts: Pattern Matching Using Regular Expressions
Prerequisites

Mon 10 Feb - Tue 11 Feb 2014

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 Mon 10 Feb 2014   14:15 - 16:00 14:15 - 16:00 New Museums Site, Hopkinson Lecture Theatre map Nicholas Maclaren
2 Tue 11 Feb 2014   14:15 - 16:00 14:15 - 16:00 New Museums Site, Hopkinson Lecture Theatre map Nicholas 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