Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

Maximum Call Stack Size Exceeded with regex "a*" #230

@bengolds

Description

@bengolds

This is a strange one; I haven't been able to make a minimum repro case for this, so I'll just post where I found it.

In one of my programs, if I use a minimal regex expression (a*), elm-reactor crashes while loading my page with the error LatexTester.elm:1289 Uncaught RangeError: Maximum call stack size exceeded. If I use any other regex (ab*, a+, a), it loads just fine. As far as I can tell, my code isn't doing anything else with the pattern than just passing it into Regex.regex.

Additionally, it works just fine on elm-repl and elm-make. Not sure what's going on here!

[Elm 0.18 on Chrome OS]

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