jsregex.json 463 B

123456789101112131415161718
  1. [
  2. {
  3. "description": "ECMA 262 regex dialect recognition",
  4. "schema": { "format": "regex" },
  5. "tests": [
  6. {
  7. "description": "[^] is a valid regex",
  8. "data": "[^]",
  9. "valid": true
  10. },
  11. {
  12. "description": "ECMA 262 has no support for lookbehind",
  13. "data": "(?<=foo)bar",
  14. "valid": false
  15. }
  16. ]
  17. }
  18. ]