Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
348 B · 14 lines
at lambda-parse
123456789101112131415{{# def.definitions }}{{# def.errors }}{{# def.setupKeyword }}{{# def.$data }}
{{ var $regexp = $isData ? '(new RegExp(' + $schemaValue + '))' : it.usePattern($schema);}}
if ({{# def.$dataNotType:'string' }} !{{=$regexp}}.test({{=$data}}) ) { {{# def.error:'pattern' }}} {{? $breakOnError }} else { {{?}}