@@ -2116,6 +2116,25 @@ end
2116
2116
finalizer (f:: Ptr{Void} , o:: Ptr{Void} ) = invoke (finalizer, Tuple{Ptr{Void}, Any}, f, o)
2117
2117
finalizer (f:: Ptr{Void} , o:: Function ) = invoke (finalizer, Tuple{Ptr{Void}, Any}, f, o)
2118
2118
2119
+ @deprecate search (str:: Union{String,SubString} , re:: Regex , idx:: Integer ) findnext (re, str, idx)
2120
+ @deprecate search (str:: Union{String,SubString} , re:: Regex ) findfirst (re, str)
2121
+ @deprecate search (s:: AbstractString , r:: Regex , idx:: Integer ) findnext (r, s, idx)
2122
+ @deprecate search (s:: AbstractString , r:: Regex ) findfirst (r, s)
2123
+ @deprecate search (s:: String , c:: Char , i:: Integer ) findnext (equalto (c), s, i)
2124
+ @deprecate search (s:: String , c:: Char ) findfirst (equalto (c), s)
2125
+ # FIXME : no replacement to search for a multibyte char in a ByteArray
2126
+ @deprecate search (a:: Union{String,ByteArray} , b:: Union{Int8,UInt8} , i:: Integer = 1 ) findnext (equalto (b), a, i)
2127
+ @deprecate search (a:: String , b:: Union{Int8,UInt8} , i:: Integer = 1 ) findnext (equalto (Char (b)), a, i)
2128
+ @deprecate search (a:: ByteArray , b:: Char , i:: Integer = 1 ) findnext (equalto (Unt8 (b)), a, i)
2129
+
2130
+ @deprecate search (s:: AbstractString , c:: Union{Tuple{Vararg{Char}},AbstractVector{Char},Set{Char}} , i:: Integer ) findnext (x -> x in c, s, i)
2131
+ @deprecate search (s:: AbstractString , c:: Union{Tuple{Vararg{Char}},AbstractVector{Char},Set{Char}} ) findfirst (x -> x in c, s, i)
2132
+ @deprecate search (s:: AbstractString , t:: AbstractString , i:: Integer ) findnext (t, s, i)
2133
+ @deprecate search (s:: AbstractString , t:: AbstractString ) findfirst (t, s)
2134
+
2135
+ @deprecate search (buf:: IOBuffer , delim:: UInt8 ) findfirst (equalto (delim), buf)
2136
+ @deprecate search (buf:: Base.GenericIOBuffer , delim:: UInt8 ) findfirst (equalto (delim), buf)
2137
+
2119
2138
# END 0.7 deprecations
2120
2139
2121
2140
# BEGIN 1.0 deprecations
0 commit comments