Skip to content

regex2wfst fails if rule one rule name contains other #12

@GoogleCodeExporter

Description

@GoogleCodeExporter
This grammar doesn't work properly:

CITY1 := BOSTON
CITY10 := CHICAGO
result := ( $CITY1 | CITY10 )

The rule CITY10 got replaced with CITY1 + 0

The fix is attached


Original issue reported on code.google.com by nshmy...@gmail.com on 11 Jan 2014 at 12:01

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions