@@ -2097,6 +2097,25 @@ end
2097
2097
@deprecate chol! (x:: Number , uplo) chol (x) false
2098
2098
end
2099
2099
2100
+ @deprecate search (str:: Union{String,SubString} , re:: Regex , idx:: Integer ) findnext (re, str, idx)
2101
+ @deprecate search (str:: Union{String,SubString} , re:: Regex ) findfirst (re, str)
2102
+ @deprecate search (s:: AbstractString , r:: Regex , idx:: Integer ) findnext (r, s, idx)
2103
+ @deprecate search (s:: AbstractString , r:: Regex ) findfirst (r, s)
2104
+ @deprecate search (s:: String , c:: Char , i:: Integer ) findnext (equalto (c), s, i)
2105
+ @deprecate search (s:: String , c:: Char ) findfirst (equalto (c), s)
2106
+ # FIXME : no replacement to search for a multibyte char in a ByteArray
2107
+ @deprecate search (a:: Union{String,ByteArray} , b:: Union{Int8,UInt8} , i:: Integer = 1 ) findnext (equalto (b), a, i)
2108
+ @deprecate search (a:: String , b:: Union{Int8,UInt8} , i:: Integer = 1 ) findnext (equalto (Char (b)), a, i)
2109
+ @deprecate search (a:: ByteArray , b:: Char , i:: Integer = 1 ) findnext (equalto (Unt8 (b)), a, i)
2110
+
2111
+ @deprecate search (s:: AbstractString , c:: Union{Tuple{Vararg{Char}},AbstractVector{Char},Set{Char}} , i:: Integer ) findnext (x -> x in c, s, i)
2112
+ @deprecate search (s:: AbstractString , c:: Union{Tuple{Vararg{Char}},AbstractVector{Char},Set{Char}} ) findfirst (x -> x in c, s, i)
2113
+ @deprecate search (s:: AbstractString , t:: AbstractString , i:: Integer ) findnext (t, s, i)
2114
+ @deprecate search (s:: AbstractString , t:: AbstractString ) findfirst (t, s)
2115
+
2116
+ @deprecate search (buf:: IOBuffer , delim:: UInt8 ) findfirst (equalto (delim), buf)
2117
+ @deprecate search (buf:: Base.GenericIOBuffer , delim:: UInt8 ) findfirst (equalto (delim), buf)
2118
+
2100
2119
# END 0.7 deprecations
2101
2120
2102
2121
# BEGIN 1.0 deprecations
0 commit comments