You are not logged in.
Announcement
Unanswered posts
|
ah right,
the option was just removed from the list..
Sorry, I was to fast - even in 2.4.2 still cannot make it to accept/work with anything like "\s+" or "\\s+" or even "[\t\x0B]+".
Could you please comment if the bug is really fixed?
Cheers
Thank you for the follow up.
Version 3.0.0 just shows an error now, so still no possible to use it there. 2.4.2 works, thanks again.
Cheers
You're right guys. I have created [Bugtracker] bug 4681
Thx for your support
Hum... I've also tried with a Java project and I understand the reason of your post, it doesn't seem to work at all. I'll check with Java guys if it's supposed to work and if yes, why it doesn't. To make this understandable, keep in mind that this wizard was designed for the first version of Talend Open Studio when Perl was the only generated language
yazuna wrote:
hmm, checked the TOS code - you should never put GUI elements for not implemented feature without any comments...
You are perfectly right. That's why we avoid to do this.
yazuna wrote:
there is no regexp separator logic there at all. it's a waste of time for many people...
or I am missing something?
TOS 2.4.1, Perl project. Input file:
1;plegall,2007-02-07 09:33:19 2|Li_SpeedyG 2007-02-07 14:54:57 3#yazuna~Today 17:38:32
It works "like a charm" :-)
test
hmm, checked the TOS code - you should never put GUI elements for not implemented feature without any comments... there is no regexp separator logic there at all. it's a waste of time for many people...
or I am missing something?
cheers,
Chris
Hello,
While trying to get custom regexp as a field separator for various space chars I got no response (single column or errors for a proper a regexp..
i.e. "\\s+" nor "[\t ]+" nor anything seem to work. Is it really regexp evaluator there?
cheers
rbillerey wrote:
Hi,
Here's a workaround to solve your problem : choose "custom ansi" and use \\| as a delimiter. Note that it's a workaround and next release of TOS will work with \| .
Hope this helps.
Best Regards
Thanks,
I will give it a try and report back..
Hi,
Here's a workaround to solve your problem : choose "custom ansi" and use \\| as a delimiter. Note that it's a workaround and next release of TOS will work with \| .
Hope this helps.
Best Regards
plegall wrote:
I've reproduced the "bug". In the "Field Separator" of a tFileInputDelimited, you don't have a simple string, you have a regular expression. The pipe "|" is a special character in a regular expression. To use the pipe as the separator, set the property to '\|'.
Hi Again plegall,
I have updated to Java 11 and I now seem to be able to view the results. However, I still do not seem to be able to separate the data as required. I used your technique both in the "file delimited" and "File Regex" with the following results:
FILE DELIMITED -- Trying various types of encoding Field Length = Custom RegExp, Custom RegExp = \| -- The output takes each character and developes a seperate field, even the | has a seperate field.
FILE REGEX -- Regular Expression Settings = \| -- The output is a sigle field labled 1 with every entry also 1
I would appreciate your help on resolving this issue.
Thank You,
GG
plegall wrote:
I've reproduced the "bug". In the "Field Separator" of a tFileInputDelimited, you don't have a simple string, you have a regular expression. The pipe "|" is a special character in a regular expression. To use the pipe as the separator, set the property to '\|'.
Thank you.
I will try the fix if the application will allow me to return to the point where I can imput these again.
Hopefully there is a work-around for the Java release issues.
THanks Again
rbillerey wrote:
Hi Li_SpeedyG,
I had the same problem with JVM 1.5.0_05 (under XP Home ) which was solved by an upgrade to JVM 1.5.0_11 ( last release ).
Regards.
Thanks for the heads up. However, on a clorporate level we are bound by release 4 du to incomatabliliy issues with other systems. Is there something else I can try? If not I may not be able to use this application.
I've reproduced the "bug". In the "Field Separator" of a tFileInputDelimited, you don't have a simple string, you have a regular expression. The pipe "|" is a special character in a regular expression. To use the pipe as the separator, set the property to '\|'.