@@ -268,48 +268,48 @@ isassigned(c) = UTF8PROC_CATEGORY_CN < category_code(c) <= UTF8PROC_CATEGORY_CO
268268# # libc character class predicates ##
269269
270270"""
271- islower (c::AbstractChar) -> Bool
271+ islowercase (c::AbstractChar) -> Bool
272272
273273Tests whether a character is a lowercase letter.
274274A character is classified as lowercase if it belongs to Unicode category Ll,
275275Letter: Lowercase.
276276
277277# Examples
278278```jldoctest
279- julia> islower ('α')
279+ julia> islowercase ('α')
280280true
281281
282- julia> islower ('Γ')
282+ julia> islowercase ('Γ')
283283false
284284
285- julia> islower ('❤')
285+ julia> islowercase ('❤')
286286false
287287```
288288"""
289- islower (c:: AbstractChar ) = category_code (c) == UTF8PROC_CATEGORY_LL
289+ islowercase (c:: AbstractChar ) = category_code (c) == UTF8PROC_CATEGORY_LL
290290
291291# true for Unicode upper and mixed case
292292
293293"""
294- isupper (c::AbstractChar) -> Bool
294+ isuppercase (c::AbstractChar) -> Bool
295295
296296Tests whether a character is an uppercase letter.
297297A character is classified as uppercase if it belongs to Unicode category Lu,
298298Letter: Uppercase, or Lt, Letter: Titlecase.
299299
300300# Examples
301301```jldoctest
302- julia> isupper ('γ')
302+ julia> isuppercase ('γ')
303303false
304304
305- julia> isupper ('Γ')
305+ julia> isuppercase ('Γ')
306306true
307307
308- julia> isupper ('❤')
308+ julia> isuppercase ('❤')
309309false
310310```
311311"""
312- function isupper (c:: AbstractChar )
312+ function isuppercase (c:: AbstractChar )
313313 cat = category_code (c)
314314 cat == UTF8PROC_CATEGORY_LU || cat == UTF8PROC_CATEGORY_LT
315315end
@@ -533,7 +533,7 @@ converted to lowercase, otherwise they are left unchanged.
533533By default, all non-letters are considered as word separators;
534534a predicate can be passed as the `wordsep` keyword to determine
535535which characters should be considered as word separators.
536- See also [`ucfirst `](@ref) to capitalize only the first
536+ See also [`uppercasefirst `](@ref) to capitalize only the first
537537character in `s`.
538538
539539# Examples
@@ -564,22 +564,22 @@ function titlecase(s::AbstractString; wordsep::Function = !iscased, strict::Bool
564564end
565565
566566"""
567- ucfirst (s::AbstractString) -> String
567+ uppercasefirst (s::AbstractString) -> String
568568
569569Return `s` with the first character converted to uppercase (technically "title
570570case" for Unicode). See also [`titlecase`](@ref) to capitalize the first
571571character of every word in `s`.
572572
573- See also: [`lcfirst `](@ref), [`uppercase`](@ref), [`lowercase`](@ref),
573+ See also: [`lowercasefirst `](@ref), [`uppercase`](@ref), [`lowercase`](@ref),
574574[`titlecase`](@ref)
575575
576576# Examples
577577```jldoctest
578- julia> ucfirst ("python")
578+ julia> uppercasefirst ("python")
579579"Python"
580580```
581581"""
582- function ucfirst (s:: AbstractString )
582+ function uppercasefirst (s:: AbstractString )
583583 isempty (s) && return " "
584584 c = s[1 ]
585585 c′ = titlecase (c)
@@ -588,20 +588,20 @@ function ucfirst(s::AbstractString)
588588end
589589
590590"""
591- lcfirst (s::AbstractString)
591+ lowercasefirst (s::AbstractString)
592592
593593Return `s` with the first character converted to lowercase.
594594
595- See also: [`ucfirst `](@ref), [`uppercase`](@ref), [`lowercase`](@ref),
595+ See also: [`uppercasefirst `](@ref), [`uppercase`](@ref), [`lowercase`](@ref),
596596[`titlecase`](@ref)
597597
598598# Examples
599599```jldoctest
600- julia> lcfirst ("Julia")
600+ julia> lowercasefirst ("Julia")
601601"julia"
602602```
603603"""
604- function lcfirst (s:: AbstractString )
604+ function lowercasefirst (s:: AbstractString )
605605 isempty (s) && return " "
606606 c = s[1 ]
607607 c′ = lowercase (c)
0 commit comments