FormValidator::LazyWay::Rule::String - String Rule


FormValidator-LazyWay documentation  | view source Contained in the FormValidator-LazyWay distribution.

Index


NAME

Top

FormValidator::LazyWay::Rule::String - String Rule

METHOD

Top

length

stash_test

ascii

nonsymbol_ascii

only alphabets and numbers.

you add $args->{allow} if you accept symbols.

  username:
    rule:
      - String#nonsimbol_ascii:
          args:
            allow:
              - '_'
              - '-'

alphabet

number


FormValidator-LazyWay documentation  | view source Contained in the FormValidator-LazyWay distribution.