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

Context restriction doesn't work with term negation #46

Open
GoogleCodeExporter opened this issue Mar 3, 2016 · 2 comments
Open

Context restriction doesn't work with term negation #46

GoogleCodeExporter opened this issue Mar 3, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. read regex a => b _ c;
2. read regex [a]+ => b _ c;
3. read regex [\a]+ => b _ c;
4. read regex [\a]+ => .#. _;

What is the expected output? What do you see instead?
1. works
2. works
3. accepts a* ?!
4. Error message Symbol '@#@' not found in network!

What version of the product are you using? On what operating system?
0.9.17alpha

Please provide any additional information below.
I want to do sth like this in lexc (i.e., swallow +Pref+):

LEXICON Root
+Pref+:0        Second;
<[[\{+}]+ => .#. _] @-> ... {/}> Pos;

LEXICON Second

<[[\{+}]+ => .#. _] @-> ... {/}> Pos;

Original issue reported on code.google.com by [email protected] on 27 Jan 2013 at 2:50

@GoogleCodeExporter
Copy link
Author

Of course, it was supposed to be

LEXICON Second

<[\{+}]+ @-> ... {/}> Pos;

Original comment by [email protected] on 27 Jan 2013 at 2:54

@GoogleCodeExporter
Copy link
Author

After a discussion with Mans, it turned out that only 4 is a bug, which comes 
from the way how .#. is handled.

Original comment by [email protected] on 19 Feb 2013 at 10:40

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

No branches or pull requests

1 participant