(self, string)
| 105 | return self.create(pattern, replaceWith) |
| 106 | |
| 107 | def replaceAll(self, string): |
| 108 | if not string: |
| 109 | return '' |
| 110 | |
| 111 | mutatedString = string |
| 112 | for rp in self.replacements: |
| 113 | mutatedString = rp.replaceAll(mutatedString) |
| 114 | return mutatedString |
| 115 | |
| 116 | |
| 117 | class TimeoutError(Exception): |
no outgoing calls
no test coverage detected