(self, stream, indent)
| 202 | return cls.CHECK.match(stream.peek(10)) is not None |
| 203 | |
| 204 | def _parse(self, stream, indent): |
| 205 | next(stream) # $ |
| 206 | next(stream) # { |
| 207 | |
| 208 | self.number = _parse_number(stream) |
| 209 | |
| 210 | next(stream) # / |
| 211 | |
| 212 | self.search = _parse_till_unescaped_char(stream, "/")[0] |
| 213 | self.replace = _parse_till_unescaped_char(stream, "/")[0] |
| 214 | self.options = _parse_till_closing_brace(stream) |
| 215 | |
| 216 | def __repr__(self): |
| 217 | return ( |
nothing calls this directly
no test coverage detected