diff --git a/TaskC05/legiatolech.grm b/TaskC05/legiatolech.grm index 613f3a6..88b08aa 100644 --- a/TaskC05/legiatolech.grm +++ b/TaskC05/legiatolech.grm @@ -3,5 +3,5 @@ # zamiana rdzenia change_core = ("dr." : "doktor") | ("prof." : "profesor") | ("hab." : "habilitowany") | ("ks." : "ksiÄ…dz") | ("mgr.": "magister") | ("dr": "doktor") | ("mgr": "magister") -Rule001_02 = CDRewrite [change_core, NonEmptyString, End, Any*]; +Rule001_02 = CDRewrite [change_core, "", "', Any*]; export PROCESS = Optimize[CDRewrite[change_core, "", "", Any*]];