You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Pascal Schumacher <pa...@gmx.net> on 2017/04/28 14:58:00 UTC
[lang] Add StringUtils#isMixedCase?
Hello everybody,
requested in: https://issues.apache.org/jira/browse/LANG-1304
pull request: https://github.com/apache/commons-lang/pull/223
Should we add this?
What do you think?
Thanks,
Pascal
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [lang] Add StringUtils#isMixedCase?
Posted by Pascal Schumacher <pa...@gmx.net>.
The purposed implementation at
https://github.com/apache/commons-lang/pull/223 returns false if the
string contains any non-alphabetic characters.
e.g.:
StringUtils.isMixedCase(null) = false
StringUtils.isMixedCase("") = false
StringUtils.isMixedCase("aBc") = true
StringUtils.isMixedCase("ABC") = false
StringUtils.isMixedCase("abc") = false
StringUtils.isMixedCase("A c") = false
StringUtils.isMixedCase("A1c") = false
StringUtils.isMixedCase("a/C") = false
Any opinions on this?
Thanks,
Pascal
Am 29.04.2017 um 11:26 schrieb Benedikt Ritter:
> 1+ add it!
>
>> Am 28.04.2017 um 17:06 schrieb Matt Sicker <bo...@gmail.com>:
>>
>> Makes sense to me at least.
>>
>> On 28 April 2017 at 09:58, Pascal Schumacher <pa...@gmx.net>
>> wrote:
>>
>>> Hello everybody,
>>>
>>> requested in: https://issues.apache.org/jira/browse/LANG-1304
>>>
>>> pull request: https://github.com/apache/commons-lang/pull/223
>>>
>>> Should we add this?
>>>
>>> What do you think?
>>>
>>> Thanks,
>>>
>>> Pascal
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> --
>> Matt Sicker <bo...@gmail.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
Re: [lang] Add StringUtils#isMixedCase?
Posted by Benedikt Ritter <br...@apache.org>.
1+ add it!
> Am 28.04.2017 um 17:06 schrieb Matt Sicker <bo...@gmail.com>:
>
> Makes sense to me at least.
>
> On 28 April 2017 at 09:58, Pascal Schumacher <pa...@gmx.net>
> wrote:
>
>> Hello everybody,
>>
>> requested in: https://issues.apache.org/jira/browse/LANG-1304
>>
>> pull request: https://github.com/apache/commons-lang/pull/223
>>
>> Should we add this?
>>
>> What do you think?
>>
>> Thanks,
>>
>> Pascal
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> Matt Sicker <bo...@gmail.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [lang] Add StringUtils#isMixedCase?
Posted by Matt Sicker <bo...@gmail.com>.
Makes sense to me at least.
On 28 April 2017 at 09:58, Pascal Schumacher <pa...@gmx.net>
wrote:
> Hello everybody,
>
> requested in: https://issues.apache.org/jira/browse/LANG-1304
>
> pull request: https://github.com/apache/commons-lang/pull/223
>
> Should we add this?
>
> What do you think?
>
> Thanks,
>
> Pascal
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
Matt Sicker <bo...@gmail.com>