Forum Replies Created

  • Thanks Dan!

    At the moment am designing MOGRTs on Mac Os for Premiere Pro, that are used mainly in a PC environment.

    Perhaps the solution for my Problem can be found somewhere out in the Unicode Bermuda Triangle?

  • Thanks again for testing with my string, Dan.

    That sounds plausible, your split criterion is a space ” “.

    But what if you do the split with “/r” for “carriage return”?

    There should not be any carriage return in my test string yet.

    Imagine a user inserting my test string into a paragraph text and then reformatting it by hitting the carriage return key any number of times.

    In this case the expected number of lines (strings) generated is not what you would expect because my test string contains special characters messing up something about the line count, I guess.

    I am looking for a workaround regarding special characters messing up the number of custom “carriage returns” when splitting is done with “/r”.

    Since a user hits carriage return any number of times, the resulting number of lines should match his hits and thus be correct in the end.

  • Thank you for checking, curious.

    Here comes my test string:

    aäb cde fgh ijk lmn oöp qrsß tuü vwx yz AÄBC DEF GHI JKL MNO ÖPQ RST UÜV WXYZ !”§ $%& /() _=?* ‘<> #|; ²³~ @`´ ©«» ¼× {} #xyz 1.xyz, ff fi a

  • .*+?^${}()|[\]\\

    …and perhaps a few more. All characters that have dedicated function within Java.

    Because they make the “carriage return” criteria “/r” causing a malfunction or inconsistency.

    Whenever there is one of those special characters in the paragraph source text.


    I searched the web and found something like this to “deactivate” them within the string variable:


    function escapeRegex(string) {

    return string.replace(/[.*+?^${}()|[\]\\]/g, ‘\\$&’);

    }

    But afterwards there has to be some kind of replacement of this deactivation so the text is displayed correctly again.

  • Thank you for your mental support, Dave.
    In the end I will have to chase this sequence through Nuke, I guess.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy