Search found 11 matches

by meisn
Wed Dec 06, 2006 1:50 pm
Forum: General
Topic: Adding text on certain positions but exclude other positions
Replies: 6
Views: 650

Wow!!

Many many many thanks Ben!!!

I will try this as soon as possible.

I hope that I can help you with anything else.

Yor are the best Ben!

Regards,

Meisn
by meisn
Wed Dec 06, 2006 11:28 am
Forum: General
Topic: Adding text on certain positions but exclude other positions
Replies: 6
Views: 650

Hi, Thank you Ben for the simplification of the expression. BTW, (?!<column-ref name="(B2|LCX|etc)_SK"/>)(<column-ref name="[^"]*)_SK"/> can be simplified to (<column-ref name="(?!B2|LCX|etc)[^"]*)_SK"/> My knowledge in scripts is very very basic. I had thought about learning perl (mostly because of ...
by meisn
Tue Dec 05, 2006 3:33 pm
Forum: General
Topic: Adding text on certain positions but exclude other positions
Replies: 6
Views: 650

Adding text on certain positions but exclude other positions

Hello, I have to do some changes in a xml. I have to add column-referneces to certain tables with column-refernces ending with _SK . The file looks like this (i have marked the columns in bold): <table name="RA_F_B2_XV" skip-update="false"> <column-ref name="B2_SK"/> <column-ref name="QRRFLG ...
by meisn
Wed Oct 25, 2006 3:53 pm
Forum: General
Topic: Help Search
Replies: 8
Views: 771

Please try this

^[^-]?[^-]+?$

It should match only uncommented lines.

Cheers

Meisn
by meisn
Wed Oct 25, 2006 1:57 pm
Forum: General
Topic: Help Search
Replies: 8
Views: 771

Hi,

could you please try this one. It will also ignore any whitespaces.

^[^-[:space:]]+.*$

Regards

Meisn
by meisn
Wed Oct 25, 2006 10:47 am
Forum: General
Topic: Help Search
Replies: 8
Views: 771

??

Hi, I can't understand what you're really looking for. You wrote that you want to find lines which doesn't begin with '--' (which could be comments) - actually you wrote that you want to ignore them. If you're using my suggested regex on the following SQL (in example) ^[^-]+.*$ you will find only ...
by meisn
Tue Oct 24, 2006 5:44 pm
Forum: General
Topic: Finding phrase *not* followed by preceding character
Replies: 5
Views: 707

Maybe this works

Hello Thomas, I've tried to find something out and this solution works with the WildEdit: (.) ON (?!\1)[A-Z]+ It uses the Negative Lookahead to prevent the regex from matching equal characters and catch the character afterwards. This is: 1. (.) any charcter 2. (?!\1) the negative lookaround, which ...
by meisn
Tue Oct 24, 2006 5:29 pm
Forum: General
Topic: Finding phrase *not* followed by preceding character
Replies: 5
Views: 707

Sorry

Hi, sorry Thomas but there was a slightly misunderstanding when I had posted my first answer. My suggestion will only find preceding or equal matches like A ON A etc. Your question was to find the opposite which is more difficult to do. I will try to think about it and will post my results (if I ...
by meisn
Tue Oct 24, 2006 4:12 pm
Forum: General
Topic: Help Search
Replies: 8
Views: 771

Hi,

If you want to search for a line which doesn't begins with a certain character use the negatived class followed after the a line anchor.

In your example this could look like the following:

^[^-]+.*$

(Using POSIX-Syntax)

Hope this could help you.

Regards,

Meisn
by meisn
Tue Oct 24, 2006 11:03 am
Forum: General
Topic: Finding phrase *not* followed by preceding character
Replies: 5
Views: 707

Hi Thomas, have you tried the same procedure with wild edit? (.) ON \1 will work with it. The thing is, if I understand this correctly, that the POSIX Syntax (or NFAs in general) doesn't support back-references in the search string. Maybe this is related to the backtracking mechanism of the engine ...
by meisn
Fri Oct 20, 2006 10:26 am
Forum: General
Topic: Finding character within quotes
Replies: 7
Views: 1051

Your welcome!

ben_josephs wrote: Apologies for any confusion caused, and thanks, Ronny.
It was a pleasure to help you Ben. :)

Cheers

Meisn