diff --git a/deploy/en/regexr.js b/deploy/en/regexr.js index 6111932..0ca96d6 100644 --- a/deploy/en/regexr.js +++ b/deploy/en/regexr.js @@ -16659,7 +16659,7 @@ var regexr = (function () { tt.showOn("error", "" + label + ": " + str, this.errorEl); } } - Expression.DEFAULT_EXPRESSION = "/(Erst|Zweit)versuch/g"; + Expression.DEFAULT_EXPRESSION = "/(first|second) attempt/g"; Expression.FLAGS = "gimsuxyU"; // for flag order Expression.FLAG_LABELS = { "g": "global", diff --git a/generate.py b/generate.py index 64c3eaf..6e809fc 100755 --- a/generate.py +++ b/generate.py @@ -81,8 +81,8 @@ Hi, there is no database for this exam, so I added our digitized notes below . Maybe you can filter it with regular expressions? They are like normal text-search but more flexible: -E.g.: (Erst|Zweit)versuch would select both words: -'Erstversuch' (first attempt) and 'Zweitversuch' (second attempt). +E.g.: /(first|second) attempt/ would select both: +'first attempt' and 'second attempt'. .+ will accept any text, you can add it at the start of the expression (top of page) to see the whole line in the menu 'List' (bottom right). You should find approximately 5 students.