Skip to main content
Question

Why does regular expression not work in BulkAttributeRemover?

  • April 10, 2014
  • 4 replies
  • 71 views

The regular expression input for bulkremover works if I type in:

 

   

 

    fme_.*

 

 

But if I try to add another expression using the regex or it fails to recognize the regex statement

 

   

 

     fme__.*|igds_.*

 

 

I tested this statement using the ruby testing aplication recommended in the help section, and it was able to recognize the statement
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

david_r
Celebrity
  • April 10, 2014
Hi,

 

 

it seems you have two underscores after "fme" in the second statement, is that on purpose?

 

 

David

takashi
Celebrity
  • April 11, 2014
Hi,

 

 

Indeed. The current BulkAttributeRemover seems not to support some complex regular expression. In this case, you can use two BulkAttributeRemover in series.

 

1st: fme_.*

 

2nd: igds_.*

 

 

Takashi

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 11, 2014
Hi,

 

 

In the stringsearcher it works.

 

 

I tried it in the bulkatt.rem.

 

I confirm it does not accept "pipelines". Only single line expressions. Nothing helps, braces, brackets..to no avail.

 

 

Pretty limited it seems.

 

 

You wil have to use 2 Bulkremovers in sequence to remove 2 attributes in bulk using a regexp.

 

 

 

 

Gio

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 11, 2014
also the regexp works, it seems the bulkremover does nothing with the result.