On Wed, Mar 02, 2016 at 02:06:55PM +0000, Dino Edwards wrote:
> I'm trying to figure out what the difference between the following 
> expressions are:
> 
> [qr'.\.(mdb)$'ix => 0]
> [qr'.\.(uue)$'i => 0]
> [qr'^\.(lha)$' => 0]
> 
> Mainly, trying to figure out when you put in "ix", "i" or nothing at all at 
> the end of the expression.

'x' means ignore whitespace and comments
'i' means ignore case

perldoc perlre for the full details:
http://perldoc.perl.org/perlre.html#Modifiers

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036

Attachment: pgpVi0VQqsTLZ.pgp
Description: PGP signature

Reply via email to