L
L
legolas44442015-05-01 02:00:19
Laravel
legolas4444, 2015-05-01 02:00:19

Validation in Laravel 5. (Alpha_dash)?

Why does alpha_dash skip cyrillic characters? The documentation says that it only allows LATIN characters, _ and - signs. Bug? How to edit it? Has anyone come across?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2015-05-07
@xelam

such a rule is used to validate the username:
to write your own rule:
laravel.com/docs/5.0/validation#custom-validation-rules

L
legolas4444, 2015-05-01
@legolas4444

Is there any way to fix this issue? I'm just not familiar with Unicode regular expressions)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question