diff --git a/docs/content/guide/expression.ngdoc b/docs/content/guide/expression.ngdoc index 842efe31754d..1ec5d376755e 100644 --- a/docs/content/guide/expression.ngdoc +++ b/docs/content/guide/expression.ngdoc @@ -37,7 +37,8 @@ AngularJS expressions are like JavaScript expressions with the following differe even inside `ng-init` directive. * **No RegExp Creation With Literal Notation:** You cannot create regular expressions - in an AngularJS expression. + in an AngularJS expression. An exception to this rule is {@link ngPattern `ng-pattern`} which accepts valid + RegExp. * **No Object Creation With New Operator:** You cannot use `new` operator in an AngularJS expression.