-
- Utilizing Regular Expressions in AS3
-
Regular Expressions are a powerful tool that you can utilize in many different programming languages. After throwing together the little twitter widget at the top of this page – I was informed by Brian Shaler of a major bug that causing it to crash. So while reworking the code to fix it I figured I’d add some much needed functionality as well. You see, just grabbing the feed from twitter does not generate html links for you. You have to parse your feed and wrap any ‘@username’ responses, or ‘http://addresses’ into actual hyperlinks yourself. Here’s how I did it.