Merge pull request #158 from gromatl/patch-1

Update RegexRule.swift
This commit is contained in:
David Patterson 2016-11-29 23:09:59 -06:00 committed by GitHub
commit 5721426cbc
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import Foundation
/**
`RegexRule` is a subclass of Rule that defines how a regular expression is validated.
*/
public class RegexRule : Rule {
open class RegexRule : Rule {
/// Regular express string to be used in validation.
private var REGEX: String = "^(?=.*?[A-Z]).{8,}$"
/// String that holds error message.