main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
348 bytes
|
Line | |
---|
1 | {{# def.definitions }}
|
---|
2 | {{# def.errors }}
|
---|
3 | {{# def.setupKeyword }}
|
---|
4 | {{# def.$data }}
|
---|
5 |
|
---|
6 | {{
|
---|
7 | var $regexp = $isData
|
---|
8 | ? '(new RegExp(' + $schemaValue + '))'
|
---|
9 | : it.usePattern($schema);
|
---|
10 | }}
|
---|
11 |
|
---|
12 | if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) {
|
---|
13 | {{# def.error:'pattern' }}
|
---|
14 | } {{? $breakOnError }} else { {{?}}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.