Notifications
Clear all
[Closed] Regex: extract variables names from functions
Aug 19, 2017 11:16 am
I have now few time for coding, but I’m still going on with my obfuscation sript.
I have solved nearly all RegEx problems except for functions: how to extract function name and variable names from a function definition?
Think that you can have names between single quotes ( ’ ) thus including any character (for function name and variables names), default values for some variables ( : ) after the variable name and even a variable name as default value for a function variable.
This is a valid function:
global_variable = 3
fn'fr;"hj' aaa'bbb'ccc 'dd=ff' ggg:global_variable = aaa + 'bbb' + ccc + 'dd=ff' + ggg
a = 'fr;"hj' 1 2 3 4