Thanks for this. Any interest in the glory of submitting a pull request for this change?—
Sent from Mailbox for iPhone

On Mon, Jan 6, 2014 at 3:49 AM, msadegh <notifications@github.com> wrote:

>> +        array (
>> +          'element_class' => 'modSnippet',
>> +        ),
>> +      ),
>> +    ),
>> +  ),
>> +  'validation' => 
>> +  array (
>> +    'rules' => 
>> +    array (
>> +      'name' => 
>> +      array (
>> +        'invalid' => 
>> +        array (
>> +          'type' => 'preg_match',
>> +          'rule' => '/^(?!\\s)[a-zA-Z0-9\\x2d-\\x2f\\x7f-\\xff-_\\s]+(?!\\s)$/',
> swap - with _
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/modxcms/revolution/pull/777/files#r8663366