#155 \F{...] for fuzzy matches

open
nobody
None
5
2012-10-02
2012-02-16
No

Use case

struct => TKN_STRUCT();
\F{struct} { printf("You wrote '%s' did you mean 'struct';", Lexeme);
}

There is an approach called the leventstin automata at

http://blog.notdot.net/2010/07/Damn-Cool-Algorithms-Levenshtein-Automata

which might be helpful

Discussion

  • Clem Wang
    Clem Wang
    2012-03-06

    I would love to see this feature!