Huh. It worked that time. TIL either you cannot put forward slashes in your title, or you cannot put too many regexes into your question. Let me see if I can copy/paste the text back in here. If this works, then I guess you just can't put forward slashes in the title.
I have some text that I set in the Unreal Editor. I want that text to contain newline characters, or \n, that will show up in the GFxMovie as a new line. When I set some test text inside Flash Pro, the newlines print correctly. But when I put "\n" in my text in Unreal Editor, the GFxMovie actually displays the text "\n" as though I had written it with an escape like \\n.
I figured this was because either Unreal or Flash was sanitizing the string input. I figured the easiest way to try getting around this specific problem would be by writing an ActionScript function to replace all \\n instances with \n. But I think something is broken with how the Scaleform plugin handles regular expressions.
I try just the simple example from the ActionScript website...
...and I get this error:
var str:String = "She sells seashells by the seashore.";
var pattern:RegExp = /sh/gi;
//sche sells seaschells by the seaschore.
Has anyone ever tried using regular expressions in ActionScript while also the Scaleform plugin? How did you get it to work?
Error: Error: Error #1001