Skip to content

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

Closed

Description

@npip99

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)'.

Activity

  1. c272 commented on Jul 9, 2021

    @c272
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions