You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've had an issue with the parser, it was working correctly for most languages, but we've noticed that it incorrectly parses words in Czech. For example, we had a term CI and the parser was parsing the word zákazníci like zákazníci.
For anyone who happens to have this issue, we've come to a solution to give the regex an additional flag /u to the regex pattern in ParserService.
Here is a patch for this:
Hello,
We've had an issue with the parser, it was working correctly for most languages, but we've noticed that it incorrectly parses words in Czech. For example, we had a term CI and the parser was parsing the word zákazníci like zákazníci.
For anyone who happens to have this issue, we've come to a solution to give the regex an additional flag /u to the regex pattern in ParserService.
Here is a patch for this:
`
diff --git a/Classes/Service/ParserService.php b/Classes/Service/ParserService.php
--- a/Classes/Service/ParserService.php (revision 29da54f)
+++ b/Classes/Service/ParserService.php (date 1729607337701)
@@ -580,7 +580,7 @@
'($|[\s<[:punct:]]|<br*>' . self::$additionalRegexWrapCharacters . ')' .
'(?![^<]>|[^<>]</)' .
'#' .
`
Thanks for this extension :)
The text was updated successfully, but these errors were encountered: