As documented on the Web site, Regular Expressions should accept the POSIX Base Regular Expression format (BRE), where certain characters need to be escaped to trigger their special meaning (most notably ( and )).
So searching for e.g. Winsen (Lu should return Winsen (Luhe) for the German locales endpoint.
But instead the following exception is thrown:
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
"title": "An error occurred while processing your request.",
"status": 500,
"detail": "2201B: invalid regular expression: parentheses () not balanced",
"traceId": "00-f8242788ef6bc9d7f3d5d107fe30c04d-bae114afafd424c9-00"
}
Searching for the complete name Winsen (Luhe) returns no result at all, while searching for Winsen \(Lu or Winsen \(Luhe\) returns a result.
So it seems like the Web service uses another type of Regular Expression Syntax than what is documented.
I suppose the Documentation should be correct, since searching by name should normally just work, but if this is intended behavior and the documentation is wrong, feel free to move the issue to the website repo.
As documented on the Web site, Regular Expressions should accept the POSIX Base Regular Expression format (BRE), where certain characters need to be escaped to trigger their special meaning (most notably
(and)).So searching for e.g.
Winsen (Lushould returnWinsen (Luhe)for the German locales endpoint.But instead the following exception is thrown:
{ "type": "https://tools.ietf.org/html/rfc9110#section-15.6.1", "title": "An error occurred while processing your request.", "status": 500, "detail": "2201B: invalid regular expression: parentheses () not balanced", "traceId": "00-f8242788ef6bc9d7f3d5d107fe30c04d-bae114afafd424c9-00" }Searching for the complete name
Winsen (Luhe)returns no result at all, while searching forWinsen \(LuorWinsen \(Luhe\)returns a result.So it seems like the Web service uses another type of Regular Expression Syntax than what is documented.
I suppose the Documentation should be correct, since searching by name should normally just work, but if this is intended behavior and the documentation is wrong, feel free to move the issue to the website repo.