• Yet another question regarding the Acronym Replacer plugin:
    How can I activate the case sensitive replacement of acronyms in version 2.8 of the Acronym Replacer?
    This option is mentioned in the source code, however, is is not part of the 2.8 replacement string and so I feel confused…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter fuchs

    (@fuchs)

    The default replacement strings activated in version 2.8 are the following:
    $text = preg_replace(“|(?!<[^<>]*?)(?<![?./&])\b$acronym\b(?!:)(?![^<>]*?>)|imsU”,”$acronym” , $text);
    $text = preg_replace(“|[$]$acronym[$]|imsU” , “$acronym” , $text);

    Thread Starter fuchs

    (@fuchs)

    OK, removing the “i” from “imsU” is the solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Acronym Replacer Plugin: Case Sensitive?’ is closed to new replies.