@@ -2211,6 +2211,25 @@ end
2211
2211
finalizer (f:: Ptr{Void} , o:: Ptr{Void} ) = invoke (finalizer, Tuple{Ptr{Void}, Any}, f, o)
2212
2212
finalizer (f:: Ptr{Void} , o:: Function ) = invoke (finalizer, Tuple{Ptr{Void}, Any}, f, o)
2213
2213
2214
+ @deprecate search (str:: Union{String,SubString} , re:: Regex , idx:: Integer ) findnext (re, str, idx)
2215
+ @deprecate search (str:: Union{String,SubString} , re:: Regex ) findfirst (re, str)
2216
+ @deprecate search (s:: AbstractString , r:: Regex , idx:: Integer ) findnext (r, s, idx)
2217
+ @deprecate search (s:: AbstractString , r:: Regex ) findfirst (r, s)
2218
+ @deprecate search (s:: String , c:: Char , i:: Integer ) findnext (equalto (c), s, i)
2219
+ @deprecate search (s:: String , c:: Char ) findfirst (equalto (c), s)
2220
+ # FIXME : no replacement to search for a multibyte char in a ByteArray
2221
+ @deprecate search (a:: Union{String,ByteArray} , b:: Union{Int8,UInt8} , i:: Integer = 1 ) findnext (equalto (b), a, i)
2222
+ @deprecate search (a:: String , b:: Union{Int8,UInt8} , i:: Integer = 1 ) findnext (equalto (Char (b)), a, i)
2223
+ @deprecate search (a:: ByteArray , b:: Char , i:: Integer = 1 ) findnext (equalto (Unt8 (b)), a, i)
2224
+
2225
+ @deprecate search (s:: AbstractString , c:: Union{Tuple{Vararg{Char}},AbstractVector{Char},Set{Char}} , i:: Integer ) findnext (x -> x in c, s, i)
2226
+ @deprecate search (s:: AbstractString , c:: Union{Tuple{Vararg{Char}},AbstractVector{Char},Set{Char}} ) findfirst (x -> x in c, s, i)
2227
+ @deprecate search (s:: AbstractString , t:: AbstractString , i:: Integer ) findnext (t, s, i)
2228
+ @deprecate search (s:: AbstractString , t:: AbstractString ) findfirst (t, s)
2229
+
2230
+ @deprecate search (buf:: IOBuffer , delim:: UInt8 ) findfirst (equalto (delim), buf)
2231
+ @deprecate search (buf:: Base.GenericIOBuffer , delim:: UInt8 ) findfirst (equalto (delim), buf)
2232
+
2214
2233
# END 0.7 deprecations
2215
2234
2216
2235
# BEGIN 1.0 deprecations
0 commit comments