LUG meeting report, 18 September 2012

Much fun was had learning about the difference between BIOS and UEFI booting, with the help of a Fedora 17 live USB: booting a BIOS system with this gives you syslinux, but a UEFI laptop loaded GRUB with a broken set of configurations. A few internet searches told us this was a known problem, and we were able to fix the UEFI booting.

We also spent some time diagnosing CUPS and wireless driver problems, and discussing the implications of Google’s recent announcement that is supporting OAuth 2.0 authentication for several of its APIs.

A Brief Introduction To Regular Expressions

What is a Regular Expression?

Purpose

A regular expression is a flexible way of defining patterns of text. It is a formal language which is interpreted by a regular expression engine (which might be part of an application or a programming language) that parses input text and compares it to the regular expression, and then performs operations on text that matches the regular expression.

Common uses of regular expressions include:

  • Matching text
  • Substituting text
  • Extracting text

Syntax

The basic syntax of a regular expression is /pattern/flags. The main part is the text pattern description, and the flags control the behaviour of the regular expression engine.

Different regular expression engines support different features, and also slightly vary in their syntax. After a overview of general regexp syntax we will look at some common applications and languages and how they support regular expressions.

Continue reading →

Durham Linux User Group

We are in the process of updating this site… Apologies if the content you were looking for is no longer here… If you want to help, please get in touch.

You can join the mailing list by going to http://mailman.lug.org.uk/mailman/listinfo/durham

Meetings are held in Durham (In the bar at Durham Rowing Club – See the location page).

We meet on the 3rd Tuesday of every month, from around 19:30, until around 22:30