Skip to content

Unable to parse some files #2

@asmuth444

Description

@asmuth444

Hey! I have been trying to parse multiple string files but I haven't been able to. After some research on your regex I was able to find that multiple comments put together individually are rejected. so i fixed them but the I tried parsing this but it failed.
/* Class = "UILabel"; text = "Circuit Breaker Health State"; ObjectID = "eCz-kD-Zye"; */ "eCz-kD-Zye.text" = "Circuit Breaker Health State";
I always end up getting this:

Invalid syntax: /
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\sesa466157\AppData\Local\Programs\Python\Python36-32\lib\site-packages\localizable.py", line 99, in parse_strings
end = m.end()
AttributeError: 'NoneType' object has no attribute 'end'
*

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions