smilejemm / foma

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

flookup doesn't handle unknown symbol properly #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the following code in foma:

  regex [ ? -> x ];
  save stack test.foma

2. Create a text file test.txt:

a
ab
abc

3. Run the text file through flookup:

  cat test.txt | flookup -i -x test.foma

What is the expected output? What do you see instead?
Expected:
x

xx

xxx

What I see:
+?

+?

+?

What version of the product are you using? On what operating system?
  flookup 1.02 (foma library version 0.9.16alpha) on OpenSUSE 12.1.

Original issue reported on code.google.com by aric.bi...@gmail.com on 9 Oct 2012 at 12:58

GoogleCodeExporter commented 8 years ago
This is fixed in the svn version.

Original comment by mans.hul...@gmail.com on 6 Nov 2012 at 7:00

GoogleCodeExporter commented 8 years ago

Original comment by mans.hul...@gmail.com on 7 Nov 2012 at 10:52

GoogleCodeExporter commented 8 years ago
Many thanks!

Original comment by aric.bi...@gmail.com on 8 Nov 2012 at 3:33