Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C2-like search expression &cF+&lemma containing a '+' are incorrectly treated as a regex expression. #214

Open
Bodmo opened this issue Nov 22, 2024 · 0 comments
Assignees

Comments

@Bodmo
Copy link
Contributor

Bodmo commented Nov 22, 2024

A lemma expression (in the C2 QL) like &cF+&Haus should be transformed like this:

{"@type":"koral:term","match":"match:eq","key":"cF+&Haus", "layer":"lemma"} , i.e.

layer=lemma and key = the whole search word with the options: 'cF+&Haus' (correct).

Instead, the '+' turns erroneously the key into a regex expr:

{"@type":"koral:term","match":"match:eq","type":"type:regex", "key":"cF.?&Haus","layer":"lemma"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants