File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ static REGEX_IGNORE_END: LazyLock<Regex> =
2727static REGEX_IGNORE_LINK_TARGETS : LazyLock < Regex > =
2828 LazyLock :: new ( || Regex :: new ( r"^\[.+\]: " ) . unwrap ( ) ) ;
2929static REGEX_SPLIT : LazyLock < Regex > =
30- LazyLock :: new ( || Regex :: new ( r"([^\.\d\-\*]\.|[^r]\?|;| !)\s" ) . unwrap ( ) ) ;
30+ LazyLock :: new ( || Regex :: new ( r"([^\.\d\-\*]\.|[^r]\?|!)\s" ) . unwrap ( ) ) ;
3131// list elements, numbered (1.) or not (- and *)
3232static REGEX_LIST_ENTRY : LazyLock < Regex > =
3333 LazyLock :: new ( || Regex :: new ( r"^\s*(\d\.|\-|\*)\s+" ) . unwrap ( ) ) ;
@@ -196,7 +196,7 @@ fn lengthen_lines(content: &str, limit: usize) -> String {
196196fn test_sembr ( ) {
197197 let original = "
198198# some. heading
199- must! be; split?
199+ must! be. split?
2002001. ignore a dot after number. but no further
201201ignore | tables
202202ignore e.g. and
@@ -214,7 +214,7 @@ git log main.. compiler
214214 let expected = "
215215# some. heading
216216must!
217- be;
217+ be.
218218split?
2192191. ignore a dot after number.
220220 but no further
You can’t perform that action at this time.
0 commit comments