@@ -25,58 +25,58 @@ mat!(regression_negated_char_class_2, r"(?i)[^x]", "X", None);
2525// See: https://github.com/rust-lang/regex/issues/101
2626mat ! ( regression_ascii_word_underscore, r"[[:word:]]" , "_" , Some ( ( 0 , 1 ) ) ) ;
2727
28- // See: https://github.com/rust-lang-nursery /regex/issues/129
28+ // See: https://github.com/rust-lang/regex/issues/129
2929#[ test]
3030fn regression_captures_rep ( ) {
3131 let re = regex ! ( r"([a-f]){2}(?P<foo>[x-z])" ) ;
3232 let caps = re. captures ( text ! ( "abx" ) ) . unwrap ( ) ;
3333 assert_eq ! ( match_text!( caps. name( "foo" ) . unwrap( ) ) , text!( "x" ) ) ;
3434}
3535
36- // See: https://github.com/rust-lang-nursery /regex/issues/153
36+ // See: https://github.com/rust-lang/regex/issues/153
3737mat ! ( regression_alt_in_alt1, r"ab?|$" , "az" , Some ( ( 0 , 1 ) ) ) ;
3838mat ! ( regression_alt_in_alt2, r"^(.*?)(\n|\r\n?|$)" , "ab\r cd" , Some ( ( 0 , 3 ) ) ) ;
3939
40- // See: https://github.com/rust-lang-nursery /regex/issues/169
40+ // See: https://github.com/rust-lang/regex/issues/169
4141mat ! ( regression_leftmost_first_prefix, r"z*azb" , "azb" , Some ( ( 0 , 3 ) ) ) ;
4242
4343// See: https://github.com/rust-lang/regex/issues/76
4444mat ! ( uni_case_lower_nocase_flag, r"(?i)\p{Ll}+" , "ΛΘΓΔα" , Some ( ( 0 , 10 ) ) ) ;
4545
46- // See: https://github.com/rust-lang-nursery /regex/issues/191
46+ // See: https://github.com/rust-lang/regex/issues/191
4747mat ! ( many_alternates, r"1|2|3|4|5|6|7|8|9|10|int" , "int" , Some ( ( 0 , 3 ) ) ) ;
4848
4949// burntsushi was bad and didn't create an issue for this bug.
5050mat ! ( anchored_prefix1, r"^a\S" , "a " , None ) ;
5151mat ! ( anchored_prefix2, r"^a\S" , "foo boo a " , None ) ;
5252mat ! ( anchored_prefix3, r"^-[a-z]" , "r-f" , None ) ;
5353
54- // See: https://github.com/rust-lang-nursery /regex/issues/204
54+ // See: https://github.com/rust-lang/regex/issues/204
5555split ! ( split_on_word_boundary, r"\b" , r"Should this (work?)" ,
5656 & [ t!( "" ) , t!( "Should" ) , t!( " " ) , t!( "this" ) ,
5757 t!( " (" ) , t!( "work" ) , t!( "?)" ) ] ) ;
5858matiter ! ( word_boundary_dfa, r"\b" , "a b c" ,
5959 ( 0 , 0 ) , ( 1 , 1 ) , ( 2 , 2 ) , ( 3 , 3 ) , ( 4 , 4 ) , ( 5 , 5 ) ) ;
6060
61- // See: https://github.com/rust-lang-nursery /regex/issues/268
61+ // See: https://github.com/rust-lang/regex/issues/268
6262matiter ! ( partial_anchor, r"^a|b" , "ba" , ( 0 , 1 ) ) ;
6363
64- // See: https://github.com/rust-lang-nursery /regex/issues/264
64+ // See: https://github.com/rust-lang/regex/issues/264
6565mat ! ( ascii_boundary_no_capture, r"(?-u)\B" , "\u{28f3e} " , Some ( ( 0 , 0 ) ) ) ;
6666mat ! ( ascii_boundary_capture, r"(?-u)(\B)" , "\u{28f3e} " , Some ( ( 0 , 0 ) ) ) ;
6767
68- // See: https://github.com/rust-lang-nursery /regex/issues/280
68+ // See: https://github.com/rust-lang/regex/issues/280
6969ismatch ! ( partial_anchor_alternate_begin, r"^a|z" , "yyyyya" , false ) ;
7070ismatch ! ( partial_anchor_alternate_end, r"a$|z" , "ayyyyy" , false ) ;
7171
72- // See: https://github.com/rust-lang-nursery /regex/issues/289
72+ // See: https://github.com/rust-lang/regex/issues/289
7373mat ! ( lits_unambiguous1, r"(ABC|CDA|BC)X" , "CDAX" , Some ( ( 0 , 4 ) ) ) ;
7474
75- // See: https://github.com/rust-lang-nursery /regex/issues/291
75+ // See: https://github.com/rust-lang/regex/issues/291
7676mat ! ( lits_unambiguous2, r"((IMG|CAM|MG|MB2)_|(DSCN|CIMG))(?P<n>[0-9]+)$" ,
7777 "CIMG2341" , Some ( ( 0 , 8 ) ) , Some ( ( 0 , 4 ) ) , None , Some ( ( 0 , 4 ) ) , Some ( ( 4 , 8 ) ) ) ;
7878
79- // See: https://github.com/rust-lang-nursery /regex/issues/271
79+ // See: https://github.com/rust-lang/regex/issues/271
8080mat ! ( end_not_wb, r"$(?-u:\B)" , "\u{5c124} \u{b576c} " , Some ( ( 8 , 8 ) ) ) ;
8181mat ! ( endl_or_wb, r"(?m:$)|(?-u:\b)" , "\u{6084e} " , Some ( ( 4 , 4 ) ) ) ;
8282mat ! ( zero_or_end, r"(?i-u:\x00)|$" , "\u{e682f} " , Some ( ( 4 , 4 ) ) ) ;
0 commit comments