You are viewing limited content. For full access, please sign in.

Question

Question

Pattern Matching don't return the correct value

asked on April 11, 2018

Hi all,

 

Using Workflow, I created a pattern matching to get what I want.

Under Worfklow designer, the value is correct (in my exemple, the value = Autre)

 

But under Laserfiche, the value is incorrect (here you can see value = AutreRENSEIGNEMENTS REL...)

 

 

The text used for Workflow Designer come from my PDF uploaded to Laserfiche so this should be the same.

 

This is my pattern Matching

(?s)RENSEIGNEMENTS RELATIFS A TOUS LES ETABLISSEMENTS.*Lieu d'exercice\s?\r?\n?\s?\r?\n?\s?\r?\n?(.*[^\s\r\n])\s?\r?\n?\s?\r?\n?\s?\r?\n?(?-s)DECLARATION FISCALE|(?s)RENSEIGNEMENTS RELATIFS A TOUS LES ETABLISSEMENTS.*Lieu d'exercice\s?(?-s)(.*[^\s\r\n])\s?\r?\n?RENSEIGNEMENTS RELATIFS AUX ASSOCIES ET PERSONNES LIEES A L'EXPLOITATION

 

I make a test, I copied the text to another file (*.txt) and drag and drop into Laserfiche and get the exact value. Please see the picture below

 

My second file (*.txt) is correct. And the text come from my first one (*.pdf) XD

 

I don't understand what's going on and need some helps plz.

Regards

0 0

Replies

replied on April 12, 2018 Show version history

I can't seem to get the example you posted in the screenshot to work at all. Is there more information that is needed to replicate the issue?

1 0
replied on April 16, 2018

Hi Devin

Sorry for the late.

I can't give you more informations (i don't have them).

Anyway, I tried to restart from the begining and it's working now.

In my mind I had a bad caracter somewhere.

Thank you anyway.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.