manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1209) Add regular expression extraction to Metadata Transformer
Date Fri, 05 Jun 2015 14:23:00 GMT


Karl Wright commented on CONNECTORS-1209:

Right now we specify fields like this:


Fields extracted by regexp require:
- a field name
- a regexp
- an optional group specifier (assumes 0 if not specified?)

So what should the syntax be?

${fieldname|regexp} or ${fieldname|regexp|groupspec}

The pipe separator may be problematic in some cases, so we may also want to be able to escape
characters in the field name and regexp, e.g.:


> Add regular expression extraction to Metadata Transformer
> ---------------------------------------------------------
>                 Key: CONNECTORS-1209
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Metadata adjuster transformer
>    Affects Versions: ManifoldCF 1.10, ManifoldCF 2.2
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.10, ManifoldCF 2.2
> The Metadata Adjuster allows you to construct expressions consisting of text plus field
values, but it doesn't allow you to use regular expressions to cull parts out of those field
values.  It would be helpful to be able to do that in some cases.

This message was sent by Atlassian JIRA

View raw message