?

Log in

No account? Create an account
Highs and Lows. - Chaz Meyers [entries|archive|friends|userinfo]
Chaz Meyers

[ website | chazmeyers.com ]
[ profile | view profile ]
[ archive | view archive ]

Links
[Links:| chazmeyers.com Twitter ]

Highs and Lows. [Jan. 7th, 2004|11:07 pm]
Chaz Meyers
I got really excited when I saw addListener() and onChanged. So much better than onSetFocus() for my needs.

Then, I got really sad when I realized that there is no RegEx's in the core ActionScript language.

The second one is a bit of a headache for error checking. I suppose I have a few options. I can:
  1. See what I can do with the methods provided by the String object. These methods are less comprehensive than those provided standard for C++. Gah.
  2. I can use a third party RegEx library. This has it's own set of problems. I have no idea how stress tested anything I'll find will be, so I'll have no idea how well it's been QA'ed. Also, after many attempts at reading the Cammel Book's detailed explanation of Perl's regex engine, I gather that something that complex should be very slow if not written in something like C. I haven't benchmarked ActionScript, but I hesitate to give it the benefit of the doubt in this area. :-P


I guess I answered my own dilema. Error checking by using indexOf() and charAt() methods. Gosh. How perfectly retro. Just like using C++. :-P
LinkReply

Comments:
[User Picture]From: duckssaymip
2004-01-07 11:14 pm (UTC)
chaz's post =====> confusion ====> brain exploding

:P
(Reply) (Thread)