regular expression escaping I don't get it. How do I find the string \u0064? wh0 forked:1favorite:0lines:16license : MIT License modified : 2011-04-18 15:24:20 Embed Tweet package { import com.actionscriptbible.Example; import flash.utils.describeType; public class FlashTest extends Example { public function FlashTest() { // Use a regular expression to find \u0064 // TODO: put your regular expression here var re:RegExp = /\\u0064/; trace('source: ' + re.source); var str1:String = '\\u0064'; trace('test string 1: ' + str1); trace('should be \\u0064: ' + re.exec(str1)); var str2:String = 'foo5bar'; trace('test string 2: ' + str2); trace('should be null: ' + re.exec(str2)); } } } Code Fullscreen Preview Fullscreen question trace exec RegExp source String sort new page view favorite forked pv707 re: regular expression escapin.. makc3d forked:0 favorite:1lines:16 (diff:3)