Skip to main content
K.Daube
Community Expert
Community Expert
March 29, 2018
Question

Regular expression for uppercasing not working

  • March 29, 2018
  • 2 replies
  • 1074 views

Dear all!

I have no success in changing the case of found items with Find/Replace using Regular expression in FrameMaker 14.0.3.500.

I want change lower case characters after n-dash followed by blank b< the upper case equivalent:

Assume no change in maker.ini, hence RegularExpressionSyntax=Perl

Find:      – ([a-z])

Replace: – \U$1 or – \u$1 or – \p{Lu}$1

Consider case: on or off

=> None of the replacements does the job!

Then I have tried various things with RegularExpressionSyntax=egrep  or grep.

No success either.

My syntax reference is Replacement Strings Reference: Context and Case Conversion

Bug? Wrong syntax?

Klaus Daube

    This topic has been closed for replies.

    2 replies

    Community Expert
    September 10, 2021

    Pitty. Still not working (FM 16.0.2.916).

    I created a bug report in the Adobe Tracker, if someone wants to vote for this issue:

    https://tracker.adobe.com/#/view/FRMAKER-10768

     

    Ian Proudfoot
    Legend
    March 29, 2018

    Klaus,

    It looks as if FrameMaker is not working correctly with escape sequences in the Replace field. For example, the normal $1 for the first capturing group works while the alternative \1 does not.

    This means that the example in the FM help document does not work either...

    I think this must be a bug.

    Ian

    Community Expert
    February 26, 2019

    Hi Klaus,

    I just have the same problem with FM 2019.0.2.

    Did you already find a way around this?

    Or did you enter this in the Adobe Bug Tracker so that I can vote for this issue?

    Best regards

    Winfried

    K.Daube
    Community Expert
    K.DaubeCommunity ExpertAuthor
    Community Expert
    February 26, 2019

    Unfortuantely FM does not support regex in the Replace field! We have complained a lot about this, but yet now there is no light in the tunnel.