From 0d614698ba0461a4b09d08362574658b6b40b73d Mon Sep 17 00:00:00 2001 From: deadsmond <01.lewicki@gmail.com> Date: Mon, 20 Jan 2020 16:36:10 +0100 Subject: [PATCH] hm --- TaskC05/legiatolech.grm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*]];