11 lines
961 B
HTML
Executable file
11 lines
961 B
HTML
Executable file
<a href="http://github.com/angular/angular.js/edit/master/docs/content/error/ngPattern/noregexp.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </i> Improve this doc</a><h1><code ng:non-bindable="">Expected Regular Expression</code>
|
|
<div><span class="hint">error in component <code ng:non-bindable="">ngPattern</code>
|
|
</span>
|
|
</div>
|
|
</h1>
|
|
<div><pre class="minerr-errmsg" error-display="Expected {0} to be a RegExp but was {1}. Element: {2}">Expected {0} to be a RegExp but was {1}. Element: {2}</pre>
|
|
<h2 id="Description">Description</h2>
|
|
<div class="description"><div class="ngpattern-page ngpattern-noregexp-page"><p>This error occurs when 'ngPattern' is passed an expression that isn't a regular expression or doesn't have the expected format.</p>
|
|
<p>For more information on valid expression syntax, see 'ngPattern' in <a href="api/ng.directive:select"><code>input</code></a> directive docs.</p>
|
|
</div></div>
|
|
</div>
|