- To: slug@xxxxxxxxxxx
- Subject: [SLUG] RE: Perl Regular expression help
- From: Bill Donoghoe <donoghoew@xxxxxxxxx>
- Date: Thu, 15 Jul 2010 08:23:35 +1000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=5DbP1M/p+Fm52OEpwhtUmgikIdWwVeH5G3zWG90gwd0=; b=qQDDwtgawrDZuyy2FJTjKEgRAeiRdGznmiXyQt93H9DuKY6rXRT2IkP4SJHYQjLKZ+ qe0AvivM+RZQswpyAG4uaP/oPyiMghx5aVtUr4izaVkoBi1u5/60mmVAQc4+csv12vEE hZcnUfl+h+c/t1B+2FTcE+xsmKcmf42hC0OSI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=ZZp8J2gbS9HDdU/hmpFbQ1sQ3Ow+0FFSUmIBkZB7/FlcT9iPvm5Vs+84drGFu0m12D l4shDZ6wm4PM1OUDf9MkJE9ENsfspDI2ZfaCgbbsl8k9C/b4k6hZG5Z9CRJrhcTvO5T3 90CDdAloYv3OpAs587AJ2TyudlIamf8rFrOj4=
I have found the following on-line tool useful for debugging regular
expressions. The regular expression is applied to the content of the text
box so you get feedback on what is being matched by each part of the
expression.
http://gskinner.com/RegExr/
To quote from the description of the tool "RegExr is built with Flex 3, and
uses ActionScript 3's built in RegExp engine.". Thus, it is almost certain
that there are differences in the regular expression syntax for Flex 3 and
Perl.
Regards,
Bill Donoghoe