Build a RE to match the given CSS class.
(str)
| 105 | DEFAULT_OUTPUT_ENCODING = "utf-8" |
| 106 | |
| 107 | def _match_css_class(str): |
| 108 | """Build a RE to match the given CSS class.""" |
| 109 | return re.compile(r"(^|.*\s)%s($|\s)" % str) |
| 110 | |
| 111 | # First, the classes that represent markup elements. |
| 112 |
no outgoing calls
no test coverage detected
searching dependent graphs…