diff --git a/README.md b/README.md index 0ea98ec..406903c 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ - [stripTags](#striptags) - [stringular](#stringular) - [test](#test) + - [match](#match) - [trim](#trim) - [ltrim](#ltrim) - [rtrim](#rtrim) @@ -1086,8 +1087,18 @@ Test if a string match a pattern
**Usage:** ```string | test: pattern: flag[optional]``` ```html

{{ '15/12/2003' | test: '^[0-9]{2}[/]{1}[0-9]{2}[/]{1}[0-9]{4}$': 'i' }}

+

{{ '0123456' | test: '\\D': 'i' }}