weblib.rex¶
-
weblib.rex.normalize_regexp(regexp, flags=0)[source]¶ Accept string or compiled regular expression object.
Compile string into regular expression object.
-
weblib.rex.rex(body, regexp, flags=0, byte=False, default=<object object>)[source]¶ Search regexp expression in body text.