Im having troubles getting the new Perl RE's for function strings to work.
For Actionscript/Javascript I use the following line(s):
/Regexp Type = Perl
/Function String = "^\s*(?:(?:private|public)\s*)?function\s+([^(]+\s*\(.*\))[^)]*$"
But no function is found. If I test the regexp seperately from UE it finds all occurences of any function string, so the regexp is ok.
Also, how do you get to see a part from the found string in your function list. Logic tells me it's done with the normal capturing parentheses like I have here around the functionname and it's parameters, but using:
/Function String = "^(.*)$"
tells me it's not. I only get a lot of blank lines doing that.
For Actionscript/Javascript I use the following line(s):
/Regexp Type = Perl
/Function String = "^\s*(?:(?:private|public)\s*)?function\s+([^(]+\s*\(.*\))[^)]*$"
But no function is found. If I test the regexp seperately from UE it finds all occurences of any function string, so the regexp is ok.
Also, how do you get to see a part from the found string in your function list. Logic tells me it's done with the normal capturing parentheses like I have here around the functionname and it's parameters, but using:
/Function String = "^(.*)$"
tells me it's not. I only get a lot of blank lines doing that.