How to add the symbols [ ] in the field nickname ?

How to add the symbols [ ] in the field nickname ?

Quote · 13 Jun 2016

return ( preg_match( '/^[a-zA-Z0-9_{}()-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );

 

Currently I have this expression . I would also like to allow brackets [ ]

Quote · 17 Jun 2016

 

return ( preg_match( '/^[a-zA-Z0-9_{}()-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );

 

Currently I have this expression . I would also like to allow brackets [ ]

try this and let me know

return ( preg_match( '/^[a-zA-Z0-9_{}()-\[\]]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );
so much to do....
Quote · 17 Jun 2016

Thx.

Works well. 

Quote · 17 Jun 2016

With that form he accepts the . , ;

How can I do that I do not accept the . , ; but yes [] () {}

 

Thx

Quote · 29 Dec 2016

Try this one:

return ( preg_match( '/^[a-zA-Z0-9_\[\]\(\)\{\}-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );
Rules → http://www.boonex.com/terms
Quote · 31 Dec 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.