From f395839e2c1ec4aedd9955469c2bb62cb32c18f4 Mon Sep 17 00:00:00 2001 From: Aesop Wolf Date: Thu, 29 Dec 2016 15:11:36 -0800 Subject: [PATCH] Update API.md Add note about xregexp --- API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/API.md b/API.md index c534b64..7199244 100644 --- a/API.md +++ b/API.md @@ -659,6 +659,8 @@ Formsy.addValidationRule('isMoreThan', function (values, value, otherField) { ``` Returns true if the value is thruthful +_For more complicated regular expressions (emoji, international characters) you can use [xregexp](https://github.com/slevithan/xregexp). See [this comment](https://github.com/christianalfoni/formsy-react/issues/407#issuecomment-266306783) for an example._ + **isEmail** ```jsx