Hi Martin,

On 15/02/2017 12:27, Martin Basti wrote:
>
>
>
> On 15.02.2017 10:57, Dimitris Beletsiotis wrote:
>> Hello,
>>
>> Despite the documentation that says that we can use $ in "group
>> names" the web gui does not allow it, pls see attached.
>> Is there some option to enable this?
>>
>> Thanks,
>> Dimitris Beletsiotis
>>
>>
> Hello,
>
> I checked the code and '$' can be used only as the last character in
> group name, so error message is not quite exact
>
> PATTERN_GROUPUSER_NAME = '^[a-zA-Z0-9_.][a-zA-Z0-9_.-]*[a-zA-Z0-9_.$-]?$'
Since this is a pattern to be matched, the $ actually means something
(it is an end of string anchor) and is not a literal '$' character.
see
http://www.regular-expressions.info/anchors.html

Regards,
Jens Timmerman

>
> Martin^2
>
>

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Reply via email to