Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

What's wrong with my findChangeByList rule?

Return to Member Forum

  • Author
    Posts
    • #63784
      Hipolit.X
      Member

      Could anybody tell me what is wrong with the following FCBL rule?

      grep {findWhat:”(?i)<([aiouwz]|ci|li|i|ja|j|je|ta|t|te|t|to|tu|ty|lub|na|np.|nr|dr|mgr|prof.|s.|oraz|do)x{20}”} {changeTo:”$1~S”} {includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:false, includeFootnotes:true} //remove hanging punctuation

      This rule should remove hanging punctuation. It works well with Find&Change dialog but it doesn't in FindChangeList.txt

    • #63793

      A special characters like dot, backslash, etc. should be escaped with a backslash () character in a script. Try to record your settings with the Record Fing Change script.

    • #63794

      P.S. The forum software eats backslashes so probably they were there when you posted your rule.

    • #63832
      Hipolit.X
      Member

      Thanks for involvement but in fact the query was generated by RecordFindChange script and all the backshlashes (rhere are two in my rule) were escaped. I have also tried to escape commas in the list but it has not solved my problem. Any further ideas?

Viewing 3 reply threads
  • You must be logged in to reply to this topic.
Forum Ads