oh... that seems really odd... when flash 9 comes out (or when you are using 8.5) and AS3, which supports regular expressions, they might want to change that.
On Feb 24, 2006, at 6:43 PM, erixtekila wrote: >> see if you can break it: >> http://blog.deconcept.com/code/flashregex.html > Nice. > > BTW, I was meaning something else⦠> (glad that you could have corrected some errors) > > I'm using Eclipse as IDE. > \s means something for MTASC and Eclipse ASDT or FDT lexer, not Flash > IDE's one. > > So using s:String = "/\s/g"; is perfectly legit in Flash IDE, whereas > not compilable with MTASC. > I don't think there could be any workaround for that. > Escaping \s with \\s means something else in the RegExp mode ! > > Thanks, this was a nice tip. > Cheers. > ----------- > erixtekila > http://blog.v-i-a.net/ > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
