change default expression for testing

This commit is contained in:
AntonObersteiner 2024-06-03 11:37:06 +02:00
parent 6a687d9c7d
commit 6d8c2c666d

View file

@ -16659,7 +16659,8 @@ var regexr = (function () {
tt.showOn("error", "<span class='error'>" + label + ":</span> " + str, this.errorEl);
}
}
Expression.DEFAULT_EXPRESSION = "/(Zweitv|2. V)ersuch/g";
Expression.DEFAULT_EXPRESSION = "/(Student[^\\n ]* )?([^\\n ]+) .+(Zweitv|2. V)ersuch nicht bestanden/g";
//Expression.DEFAULT_EXPRESSION = "/(Zweitv|2. V)ersuch/g";
Expression.FLAGS = "gimsuxyU"; // for flag order
Expression.FLAG_LABELS = {
"g": "<em>g</em>lobal",