@@ -58,7 +58,7 @@ def marker_or_segment_to_search_range_impl(
5858 case Marker (type = MarkerType .LINE ):
5959 result = RangeSpec .from_line_marker (lines , self , search_range )
6060 assert result is not None , (
61- f"Unable to find ` { self } ` ; Try: 1) Double-checking the marker "
61+ f"Unable to find { self } ; Try: 1) Double-checking the marker "
6262 f"(maybe you specified the the wrong one); or 2) using *exactly* the same characters from source; "
6363 f"or 3) using another marker"
6464 )
@@ -83,9 +83,9 @@ def segment_to_search_range(
8383
8484 start_match_result = RangeSpec .from_line_marker (lines , start_relpos , search_range )
8585 assert start_match_result , (
86- f"Unable to find segment start ` { start_relpos } ` ; Try: "
86+ f"Unable to find segment start: { start_relpos } ; Try: "
8787 f"1) Double-checking the marker (maybe you specified the the wrong one); or "
88- f"2) using *exactly* the same characters from source; or 3) using a marker from above"
88+ f"2) Using *exactly* the same characters from source; or 3) using a marker from above"
8989 )
9090
9191 start_index_for_end_marker = start_match_result .as_index
@@ -96,8 +96,9 @@ def segment_to_search_range(
9696 start_index_for_end_marker , search_range .end , start_match_result .indent
9797 ))
9898 assert end_match_result , (
99- f"Unable to find segment end `{ end_relpos } ` - Try: "
100- f"1) using *exactly* the same characters from source; or 2) using a marker from below"
99+ f"Unable to find segment end: { end_relpos } ; Try: "
100+ f"1) Using *exactly* the same characters from source; or "
101+ f"2) using a marker from below"
101102 )
102103 if end_match_result .as_index > - 1 :
103104 one_after_end = end_match_result .as_index + 1
0 commit comments