The regex_pattern.py module#

Summary#

Module detail#

regex_pattern.BEFORE_DEF = '[\\s\\S]*?(?=def '#
regex_pattern.GET_GROUP = '(?<=&)(.*?)(?=;)'#
regex_pattern.GET_CLASSNAME = '(\\S+)(?=:)'#
regex_pattern.GET_TYPENAME_1OPT = '(?<=:)(.*)'#
regex_pattern.GET_TYPENAME_2OPT = '(?<=:)(.*?)(?=[A-Z][A-Z])'#
regex_pattern.GET_IMPORTS = '(?:(?:from [a-zA-Z0-9_.]* import [a-zA-Z0-9_.]* as [a-zA-Z0-9_.]*)|(?:from [a-zA-Z0-9_.]*...#