0

Here is my regex

(?i)(\bKH\b)

and it positively matches this Turkish text

Fıkhî Sorular

Regex101

which is undesirable.

Can someone point me to an explanation of why this is happening and what makes Turkish characters in "Fıkhî" to trigger the match?

And what's a good way to avoid the undesired match?

VLAZ
  • 26,331
  • 9
  • 49
  • 67
JavaHead
  • 635
  • 1
  • 6
  • 21

0 Answers0