Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validation error #1214

Closed
jinmarcus opened this issue Sep 12, 2018 · 0 comments
Closed

validation error #1214

jinmarcus opened this issue Sep 12, 2018 · 0 comments

Comments

@jinmarcus
Copy link

The latest version of ci4

$validation->setRules([
                'www_username' => [
                    'rules'  => 'required|min_length[6]|max_length[20]'
                ],
                'www_password' => [
                    'rules'  => 'required|min_length[6]|max_length[20]'
                ]
            ]);

it is error


preg_match(): Compilation failed: reference to non-existent subpattern at offset 20

BASEPATH/Validation\Validation.php at line 723

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant