Hi Geoff,

I think that the logical complement of this is:
(See https://en.wikipedia.org/wiki/De_Morgan%27s_laws)

NOT Second-Last character is 'u' AND
NOT Second-Last character is 'o'
  OR
NOT Last character is 'b' AND
NOT Last character is 'r'

Which, as a regular expression, is:

([^uo].)|(.[^br])$

I think this should work, give it a try!

this does not work, becaus of the OR "|" this expression filters both to
the last character. Due to deMorgan I would need a NOT to the complete
expression. I played around, but find no working combination.

As the negotiation only works with one character, I will use the special
character "_" at the end of the name. This works for me, because I have
an association where I have only two groups of accounts: my main
accounts and some other groups. Another possibility ist to write some
account names in capital letters as regEx is case sensitive.

thanks a lot for your effort and even if this was not the solution, you
gave me the hint to the workaround.

best regards
Andy

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to