void () { @Language("YAML") final String schema = """ { "properties": { "withPattern": { "pattern": "^[]$" } } }"""; final String text = """ withPattern: <warning descr="Schema validation: Cannot check the string by pattern because of an error: Unclosed character class near index 3 ^[]$ ^">(124)555-4216</warning>"""; doTestYaml(schema, text); }