huh, i didn't test it yet with MTASC, but generally spoken, shouldn't \character be the same as character, if not otherwise interpreted? r.
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
