idee_oder-checks.ts 427 B

1234567891011121314
  1. type CheckDisjunction = Array<string | string[] | { and: string[] }>;
  2. const bla: CheckDisjunction = [{ and: ['adefag', 'daefag'] }, 'bla', ['sdgdrs', 'aefawg'], { and: [''] }];
  3. const blubb: CheckDisjunction = [
  4. {
  5. and: ['coachingsamtherz', 'coachingsamtherz\\.de', '<title>[^<]*(coaching\\s*samt\\s*herz)[^<]*</title>']
  6. },
  7. {
  8. and: ['Maintenance', 'Login']
  9. },
  10. {
  11. and: ['Down', 'NSA hacked this site']
  12. }
  13. ];