mislamov / refal-old

Automatically exported from code.google.com/p/refal51
0 stars 0 forks source link

Ошибка при использовании повторителя #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Программа проверяет соответствие входной 
строки шаблону с повторителем

Template letter ::= {'x'|'y'|'z'} [1..3];

Go { = <Prout 'Input your letters'> <Case <Card>>;}

Case {
          letter.input = <Prout 'Ok'>;
      e.other = <Prout 'Nothing interesting'>;
     }

При введении строк 'x', 'xx', 'xxx', 'y' и других, 
которые удовлетворяют
шаблону, выводится отрицательный 
результат.

Original issue reported on code.google.com by fox.ko...@gmail.com on 13 Dec 2009 at 7:19

GoogleCodeExporter commented 8 years ago

Original comment by islamov....@gmail.com on 17 Jun 2010 at 2:00