(match)
| 291 | string = re.sub(SYMBOL_REFERENCE_RE, strict_one_ref, string) |
| 292 | |
| 293 | def sloppy_one_ref(match): |
| 294 | try: |
| 295 | return self._one_ref(match, relative_path_to_root) |
| 296 | except TFDocsError: |
| 297 | return match.group(0) |
| 298 | |
| 299 | string = re.sub(AUTO_REFERENCE_RE, sloppy_one_ref, string) |
| 300 |