Expand description
Checks a subject
against a query.
Functions
Checks whether
subject
ends with end
.Checks whether
subject
includes search
starting from position
.Checks whether
subject
contains only alpha characters.Checks whether
subject
contains contains only alpha and digit characters.Checks whether
subject
is empty or contains only whitespaces.Checks whether
subject
is camelCased.Checks whether
subject
is capitalized and the rest of subject
is converted to lower case.Checks whether
subject
is decapitalized and the rest of subject
is converted to lower case.Checks whether
subject
contains only digit characters.Checks whether
subject
is empty.Checks whether
subject
is is a foreign_key
.Checks whether
subject
is kebab-cased.Checks whether
subject
has the first character in lower case.Checks whether
subject
has only lower case characters.Checks whether
subject
is numeric.Checks whether
subject
is PascalCased.Checks whether
subject
is SHOUTY-KEBAB-CASED.Checks whether
subject
is SHOUTY_SNAKE_CASED.Checks whether
subject
is snake_cased.Checks whether
subject
is a titlecased string and there is at least one character.Checks whether
subject
is Train-Cased.Checks whether
subject
has the first character in upper case.Checks whether
subject
has only upper case characters.Checks whether
subject
matches the regular expression pattern
.
NOTE: Executes regular expressions only on valid UTF-8 while exposing match locations as byte indices into the search string (see case #4).Checks whether
subject
contains all characters from search
starting from position
. Respects an order of characters.Checks whether
subject
starts with start
.