diff --git a/ida/regexes/def_to_constexpr.txt b/ida/regexes/def_to_constexpr.txt new file mode 100644 index 00000000..e9143d39 --- /dev/null +++ b/ida/regexes/def_to_constexpr.txt @@ -0,0 +1,3 @@ +#define[ \s]*([A-Za-z_0-9]*)[\s]*(\(.*\)|[0-9xa-f\.\-]*) + -> static constexpr unsigned int $1 = $2; + diff --git a/ida/regexes/regexes.txt b/ida/regexes/regexes.txt new file mode 100644 index 00000000..4d33eabf --- /dev/null +++ b/ida/regexes/regexes.txt @@ -0,0 +1,15 @@ +== Remove comments from class == +- Find : +- Replace : /\* .*? \*/ + +== Remove class name from class == +- Find : +- Replace : class .+?:: + +== Put class name for functions == +- Find : ^.*? +- Replace : $0ClassName:: + +== Declare functions == +- Find : ; +- Replace : \r\n{\r\n\t// FIXME: STUB\r\n}\r\n \ No newline at end of file