mhulden / foma

Automatically exported from code.google.com/p/foma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flookup doesn't handle unknown symbol properly

GoogleCodeExporter opened this issue · comments

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

This is fixed in the svn version.

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

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

  • Changed state: Done
Many thanks!

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