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
Example 1: phrase until brackets is matched
const highlightText = ref('Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch')
Example 2: phrase including brackets is no longer matched
const highlightText = ref('Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch John Galt)')
Example 3: phrase including partial context in brackets is no longer matched and causes Syntax error
const highlightText = ref('Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch')
Error text
Uncaught (in promise) SyntaxError: Invalid regular expression: /Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch/gi: Unterminated group
at new RegExp ()
at yl (@tato30_vue-pdf.js?v=81477d36:20665:13)
at pl (@tato30_vue-pdf.js?v=81477d36:20750:15)
at m (@tato30_vue-pdf.js?v=81477d36:20775:97)
Expected behavior
Both strings 'Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch John Galt)' and 'Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch' are highlighted.
Problem description
Text enclosed in brackets is not highlighted.
Example 1: phrase until brackets is matched
const highlightText = ref('Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch')
Example 2: phrase including brackets is no longer matched
const highlightText = ref('Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch John Galt)')
Example 3: phrase including partial context in brackets is no longer matched and causes Syntax error
const highlightText = ref('Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch')
Error text
Uncaught (in promise) SyntaxError: Invalid regular expression: /Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch/gi: Unterminated group
at new RegExp ()
at yl (@tato30_vue-pdf.js?v=81477d36:20665:13)
at pl (@tato30_vue-pdf.js?v=81477d36:20750:15)
at m (@tato30_vue-pdf.js?v=81477d36:20775:97)
Expected behavior
Both strings 'Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch John Galt)' and 'Werkstudentenvertrag zwischen Galt's Gulch GmbH Hauptstrasse 100, 60000 Galt's Gulch (vertreten durch' are highlighted.
Additional context
PDF document to test
Extraction_Demo_Vertrag_Darth_Vder Galt.pdf
Code to reproduce
The text was updated successfully, but these errors were encountered: