0

Assuming you have the following input to check against:

lorem ipsüm dolor ipsum dolor

and the following JavaScript RegExp:

/(\bips[uü]\b)/gmi

What I expect is that nothing will be found as I am searching for a match, either "ipsu" or "ipsü" but with a word boundary. But the word "ipsü" will be matched, even if there is the character "m" at the end and not a word boundary. I don't understand the reason.

Does anyone know the reason?

See this example:

https://regex101.com/r/kM0zW7/2

user3292653
  • 602
  • 1
  • 7
  • 25

0 Answers0