Regular Expression Tester v1.3 released

On April 4, 2008, Flash / Flex - No Comments

My AS3 Regular Expression Tester (ASRET) has just been updated. With ASRET you can test if your expression behaves like you want to. It has some cool features like syntax highlighting, the ability to save your expressions, and calling the replace, math, search and exec functions of the AS3 regexp engine.

The new version brings live matching and result highlighting

AS3 Regular Expression Tester v1.3

With Live Matching turned on, ASRET evaluates the expression every time the expression, the string to match or one of the flags is changed. You can find ASRET here.

Read the original post.

Regular Expressions in AS3

On January 9, 2008, Flash / Flex - 2 Comments

For the past 2 hours I’ve been struggling with the regular expression engine of AS3. Normally, when I need to write an regexp, I test it in the Regular Expression Workbench, a .NET app which is quite handy. The problem however is that it uses the .NET syntax for regexes. Apparently, each programming language uses it’s own regular expression syntax. For example, in .NET you can create a named group using (?<groupname>), in AS3 you need to type (?P<groupname>). more…