Hey all-

I know this is a bit of a long shot, but I need some assistance on this Matcher class from as2lib. I have the following code:

   var pattern : Pattern        = new Pattern("[\\s]", Pattern.MULTILINE);
   var regExp : Matcher = pattern.getMatcher(tempContent);
   trace("regExp.matches(): " + regExp.matches());
   tempContent = regExp.replaceAll("");

Here's the problem I'm having. regExp.matches() traces out false everytime and then when I do the replaceAll it basically returns an empty string. Does anyone have any ideas as to what I might be missing or doing wrong?

Thanks,

Thomas
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to