You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2015/03/20 09:57:38 UTC

[jira] [Commented] (UIMA-4232) Ruta: missing match for right to left matching with composed rule element

    [ https://issues.apache.org/jira/browse/UIMA-4232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371007#comment-14371007 ] 

Peter Klügl commented on UIMA-4232:
-----------------------------------

Here's an example:

document text something like: 14. Mai 1995

does not match:
{noformat}
(NUM{REGEXP(".{1,2}") -> Day} PERIOD @MonthInd{-> Month} NUM{REGEXP("[12][0-9]{3,3}")-> Year})
    {-> CREATE(Date, "day" = Day, "month" = Month, "year" = Year)};
{noformat}


does match:
{noformat}
NUM{REGEXP(".{1,2}") -> Day} PERIOD @MonthInd{-> Month} NUM{REGEXP("[12][0-9]{3,3}")-> Year,
    CREATE(Date, 1, 4, "day" = Day, "month" = Month, "year" = Year)};
{noformat}

> Ruta: missing match for right to left matching with composed rule element
> -------------------------------------------------------------------------
>
>                 Key: UIMA-4232
>                 URL: https://issues.apache.org/jira/browse/UIMA-4232
>             Project: UIMA
>          Issue Type: Bug
>          Components: ruta
>    Affects Versions: 2.2.1ruta
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>             Fix For: 2.3.0ruta
>
>
> A match was missed for right to left matching with compopsed rule element. An reproducible exmaple is needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)