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

Seems to register regex look-ahead as a capture group #2

Closed
npip99 opened this issue May 15, 2021 · 1 comment
Closed

Seems to register regex look-ahead as a capture group #2

npip99 opened this issue May 15, 2021 · 1 comment

Comments

@npip99
Copy link

npip99 commented May 15, 2021

Hello! This is a great project you have here. I seem to have a problem though in my tests of this tool. Namely, that regex look-ahead appears to be registered as a "capture group" by this tool.

Consider the following .iro file: https://pastebin.com/7k2aP8w6

This is the default example on eeyo.io/iro, but with one small change on line 119:

regex \= (\")(?=h)

Which forces quotes to need the letter 'h' after it. This works great on eeyo.io/iro,

image

But iro4cli seems to not be able to parse it:

image

[WARN] Compile - Some top-level flags are missing and/or not implemented yet.
[ERROR] Compile Failed  - Mismatch between capture groups and number of styles for inline push with regex '(\")(?=h)'.
@c272
Copy link
Owner

c272 commented Jul 9, 2021

Sorry for the late response, and thank you for the detailed error report.
This has been fixed in 1dbf21c, and will be pushed as a hotfix.

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

2 participants