• Hi there!

    I’d like to correct UPPERCASE to Title Case, but only for single words in table cells.

    Search: <td>(\p{Lu})(\p{Lu}+)<\/td>

    Replace: <td>$1[lower]$2[/lower]</td>

    Sometimes works as expected: ‘SŁOWO’ > ‘Słowo’,
    but sometimes (and quite often) it eats the second capturing group that should be converted to lowercase, so leaves ‘S’ only…
    Why?

    My database collation is utf8mb4_unicode_520_ci

    • This topic was modified 1 year, 10 months ago by Rafał.
Viewing 1 replies (of 1 total)
  • Plugin Author John Godley

    (@johnny5)

    The plugin uses PHP regular expressions and behaves exactly as PHP behaves. All I can imagine is that your expression is not matching in the way you want.

Viewing 1 replies (of 1 total)

The topic ‘Strange Behavior’ is closed to new replies.