@@ -34,31 +34,17 @@ import Statistics
3434import Base: Fix2
3535import Base64
3636const tr = LinearAlgebra. tr
37-
38-
39- include (" compatmacro.jl" )
40-
41- # 0.7.0-DEV.2915
4237module Unicode
4338 export graphemes, textwidth, isvalid,
4439 islower, isupper, isalpha, isdigit, isxdigit, isnumeric, isalnum,
4540 iscntrl, ispunct, isspace, isprint, isgraph,
4641 lowercase, uppercase, titlecase, lcfirst, ucfirst
42+ using Unicode
43+ import Unicode: isassigned, normalize # not exported from Unicode module due to conflicts
44+ end
4745
48- if VERSION < v " 0.7.0-DEV.2915"
49- if VERSION < v " 0.7.0-DEV.1930"
50- import .. Compat: textwidth
51- end
5246
53- isnumeric (c:: Char ) = isnumber (c)
54- isassigned (c) = is_assigned_char (c)
55- normalize (s:: AbstractString ; kws... ) = normalize_string (s; kws... )
56- normalize (s:: AbstractString , nf:: Symbol ) = normalize_string (s, nf)
57- else
58- using Unicode
59- import Unicode: isassigned, normalize # not exported from Unicode module due to conflicts
60- end
61- end
47+ include (" compatmacro.jl" )
6248
6349# 0.7.0-DEV.3393
6450@static if VERSION < v " 0.7.0-DEV.3393"
0 commit comments